reintegration complete

This commit is contained in:
2025-05-12 16:28:27 -05:00
parent 2350592424
commit b4309ab4e9
33 changed files with 1384 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#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));
}

View File

@@ -0,0 +1,16 @@
#include "Archimedes.h"
class DependsOnPrintStatic : public Archimedes::Module {
public:
DependsOnPrintStatic(Archimedes::App*, void*);
~DependsOnPrintStatic();
void run();
void onLoad() {}
};
#ifdef DEPENDSONPRINTSTATIC_DYNAMIC
typedef DependsOnPrintStatic mtype;
#include "endModule.h"
#endif