17 lines
452 B
C++
17 lines
452 B
C++
#include "DependsOnPrint.h"
|
|
|
|
DependsOnPrint::DependsOnPrint(Archimedes::App* a, void* h) : Module(a, h) {
|
|
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->emitEvent(new Archimedes::DoUnloadModuleEvent(name));
|
|
}
|