Files
Archimedes/modules/examples/DependsOnPrintStatic/src/DependsOnPrintStatic.cpp
2025-04-17 14:58:22 -05:00

20 lines
492 B
C++

#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);
}