remove GuiModule
This commit is contained in:
16
modules/examples/DependsOnPrint/src/DependsOnPrint.cpp
Normal file
16
modules/examples/DependsOnPrint/src/DependsOnPrint.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include "DependsOnPrint.h"
|
||||
|
||||
DependsOnPrint::DependsOnPrint(void* h, Archimedes::App* a) : Module(h, a) {
|
||||
name = "DependsOnPrint";
|
||||
|
||||
deps["Print"] = "/home/nathan/Projects/Archimedes/result-1/bin/Print";
|
||||
}
|
||||
|
||||
DependsOnPrint::~DependsOnPrint() {
|
||||
std::cout << "DependsOnPrint Destroyed!\n";
|
||||
}
|
||||
|
||||
void DependsOnPrint::run() {
|
||||
std::cout << "DependsOnPrint lib loaded and run!\n";
|
||||
app->stopModule(name);
|
||||
}
|
||||
16
modules/examples/DependsOnPrint/src/DependsOnPrint.h
Normal file
16
modules/examples/DependsOnPrint/src/DependsOnPrint.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#include "Archimedes.h"
|
||||
|
||||
class DependsOnPrint : public Archimedes::Module {
|
||||
|
||||
public:
|
||||
DependsOnPrint(void*, Archimedes::App*);
|
||||
~DependsOnPrint();
|
||||
void run();
|
||||
void onLoad() {}
|
||||
|
||||
};
|
||||
|
||||
#ifdef DEPENDSONPRINT_DYNAMIC
|
||||
#define MODULE_TYPE DependsOnPrint
|
||||
#include "endModule.h"
|
||||
#endif
|
||||
Reference in New Issue
Block a user