restructure modules. make GuiModules depend on WindowModule

This commit is contained in:
2025-03-31 10:30:55 -05:00
parent d6f769d2dd
commit 22350ed54d
15 changed files with 13 additions and 11 deletions

View File

@@ -1,15 +0,0 @@
#include "Print.h"
Print::Print(void* h, Archimedes::App* a) : Archimedes::Module(h, a) {
name = "Print";
}
Print::~Print() {
std::cout << "Print Destroyed!\n";
}
void Print::run() {
std::cout << "Print lib loaded and run!\n";
app->stopModule(self);
}

View File

@@ -1,16 +0,0 @@
#include "Archimedes.h"
class Print : public Archimedes::Module {
public:
Print(void*, Archimedes::App*);
~Print();
void run();
void onLoad() {}
};
#ifndef PRINT_STATIC
#define MODULE_TYPE Print
#include "endModule.h"
#endif