begin work on window module

This commit is contained in:
2025-03-15 18:57:04 -05:00
parent 5be04e9696
commit 3486163025
14 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#include "print.h"
Print::Print(void* h, App& a) : 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);
}

16
modules/Print/src/print.h Normal file
View File

@@ -0,0 +1,16 @@
#include "../../../include/Archimedes.h"
class Print : public Module {
public:
Print(void*, App&);
~Print();
void run();
};
extern "C" {
Module* create(void* handle, App& app) {
return new Print(handle, app);
}
}