add App& member to Module class

This commit is contained in:
2025-03-14 16:13:26 -05:00
parent e7286caa20
commit 2b1293d414
4 changed files with 13 additions and 9 deletions

View File

@@ -1,7 +1,6 @@
#include "print.h"
Print::Print(void* h) {
handle = h;
Print::Print(void* h, App& a) : Module(h, a) {
name = "Print";
}
@@ -12,6 +11,6 @@ Print::~Print() {
void Print::run() {
std::cout << "Print lib loaded and run!\n";
//App::Get().unload(self);
App::Get().end();
app.end();
std::cout << "App::Get() called\n";
}