#include "DependsOnPrintStatic.h" #include "modules/Archimedes-Modules/Print/Print.h" DependsOnPrintStatic::DependsOnPrintStatic(Archimedes::App* a, void* h) : Module(a, h) { name = "DependsOnPrintStatic"; Print* p = new Print(a, h); deps[*p] = p; } DependsOnPrintStatic::~DependsOnPrintStatic() { std::cout << "DependsOnPrintStatic Destroyed!\n"; } void DependsOnPrintStatic::run() { std::cout << "DependsOnPrintStatic lib loaded and run!\n"; app->emitEvent(new Archimedes::DoUnloadModuleEvent(name)); }