now trying to build

This commit is contained in:
2025-03-14 15:06:27 -05:00
parent bc09e0d79b
commit a8dff07bf1
7 changed files with 86 additions and 29 deletions

View File

@@ -0,0 +1,15 @@
#include "print.h"
Print::Print(void* h) {
handle = h;
name = "Print";
}
Print::~Print() {
std::cout << "Print Destroyed!\n";
}
void Print::run() {
std::cout << "Print lib loaded and run!\n";
App::Get().unload(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*);
~Print();
void run();
};
extern "C" {
Module* create(void* handle) {
return new Print(handle);
}
}