fix examples

This commit is contained in:
2025-04-12 20:22:46 -05:00
parent 1d4087e842
commit dea35c2a5e
8 changed files with 10 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
#include "DependsOnPrint.h"
DependsOnPrint::DependsOnPrint(void* h, Archimedes::App* a) : Module(h, a) {
DependsOnPrint::DependsOnPrint(Archimedes::App* a, void* h) : Module(a, h) {
name = "DependsOnPrint";
deps["Print"] = "/home/nathan/Projects/Archimedes/result-1/bin/Print";

View File

@@ -3,7 +3,7 @@
class DependsOnPrint : public Archimedes::Module {
public:
DependsOnPrint(void*, Archimedes::App*);
DependsOnPrint(Archimedes::App*, void*);
~DependsOnPrint();
void run();
void onLoad() {}

View File

@@ -1,11 +1,11 @@
#include "DependsOnPrintStatic.h"
#include "modules/examples/Modules/Print/src/Print.h"
#include "modules/examples/Print/src/Print.h"
DependsOnPrintStatic::DependsOnPrintStatic(void* h, Archimedes::App* a) : Module(h, a) {
DependsOnPrintStatic::DependsOnPrintStatic(Archimedes::App* a, void* h) : Module(a, h) {
name = "DependsOnPrintStatic";
deps["Print"] = new Print(nullptr, a);
deps["Print"] = new Print(a, h);
}
DependsOnPrintStatic::~DependsOnPrintStatic() {

View File

@@ -3,7 +3,7 @@
class DependsOnPrintStatic : public Archimedes::Module {
public:
DependsOnPrintStatic(void*, Archimedes::App*);
DependsOnPrintStatic(Archimedes::App*, void*);
~DependsOnPrintStatic();
void run();
void onLoad() {}

View File

@@ -1,6 +1,6 @@
#include "Print.h"
Print::Print(void* h, Archimedes::App* a) : Archimedes::Module(h, a) {
Print::Print(Archimedes::App* a, void* h) : Archimedes::Module(a, h) {
name = "Print";
}

View File

@@ -3,7 +3,7 @@
class Print : public Archimedes::Module {
public:
Print(void*, Archimedes::App*);
Print(Archimedes::App*, void*);
~Print();
void run();
void onLoad() {}

View File

@@ -1,6 +1,6 @@
#include "TestMenu.h"
TestMenu::TestMenu(void* h, Archimedes::App* a) : Module(h, a) {
TestMenu::TestMenu(Archimedes::App* a, void* h) : Module(a, h) {
name = "TestMenu";
}

View File

@@ -3,7 +3,7 @@
class TestMenu : public Archimedes::Module {
public:
TestMenu(void*, Archimedes::App*);
TestMenu(Archimedes::App*, void*);
~TestMenu();
void run();
void onLoad() {}