diff --git a/src/imports/import_base.hpp b/src/imports/import_base.hpp new file mode 100644 index 0000000..20f16d8 --- /dev/null +++ b/src/imports/import_base.hpp @@ -0,0 +1,31 @@ +#ifndef _IMPORT_BASE_HPP_ +#define _IMPORT_BASE_HPP_ + +#include + +#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_ \ No newline at end of file diff --git a/src/imports/import_mentor.cpp b/src/imports/import_mentor.cpp new file mode 100644 index 0000000..dedb03e --- /dev/null +++ b/src/imports/import_mentor.cpp @@ -0,0 +1,14 @@ + +#include "import_mentor.hpp" + +ImportMentor::ImportMentor() { + +} + +ImportMentor::~ImportMentor() { + +} + +void ImportMentor::load(std::string filename) { + +} \ No newline at end of file diff --git a/src/imports/import_mentor.hpp b/src/imports/import_mentor.hpp new file mode 100644 index 0000000..0a7824a --- /dev/null +++ b/src/imports/import_mentor.hpp @@ -0,0 +1,16 @@ +#ifndef _IMPORT_MENTOR_HPP_ +#define _IMPORT_MENTOR_HPP_ + +#include + +#include "import_base.hpp" + +class ImportMentor : public ImportBase +{ +public: + ImportMentor(); + ~ImportMentor(); + void load(std::string file_name); +}; + +#endif // _IMPORT_MENTOR_HPP_ \ No newline at end of file