imports started
This commit is contained in:
31
src/imports/import_base.hpp
Normal file
31
src/imports/import_base.hpp
Normal 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_
|
||||
Reference in New Issue
Block a user