imports started

This commit is contained in:
2025-03-30 18:06:00 +02:00
parent d35d9ced2f
commit a61f24e08c
3 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
#ifndef _IMPORT_BASE_HPP_
#define _IMPORT_BASE_HPP_
#include <string>
#include "connect.hpp"
#include "modules.hpp"
class ImportBase
{
Connections *connects;
Modules *mods;
public:
ImportBase()
{
connects = new Connections();
mods = new Modules();
}
virtual void load(std::string file_name) = 0;
Connections *connections()
{
return connects;
}
Modules *modules()
{
return mods;
}
};
#endif // _IMPORT_BASE_HPP_

View File

@@ -0,0 +1,14 @@
#include "import_mentor.hpp"
ImportMentor::ImportMentor() {
}
ImportMentor::~ImportMentor() {
}
void ImportMentor::load(std::string filename) {
}

View File

@@ -0,0 +1,16 @@
#ifndef _IMPORT_MENTOR_HPP_
#define _IMPORT_MENTOR_HPP_
#include <string>
#include "import_base.hpp"
class ImportMentor : public ImportBase
{
public:
ImportMentor();
~ImportMentor();
void load(std::string file_name);
};
#endif // _IMPORT_MENTOR_HPP_