#include "DependsOnPrintStatic.h" #include "modules/examples/Print/src/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->stopModule(name); }