diff --git a/modules/examples/DependsOnPrint/src/DependsOnPrint.cpp b/modules/examples/DependsOnPrint/src/DependsOnPrint.cpp index eb5c316..cc65757 100644 --- a/modules/examples/DependsOnPrint/src/DependsOnPrint.cpp +++ b/modules/examples/DependsOnPrint/src/DependsOnPrint.cpp @@ -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"; diff --git a/modules/examples/DependsOnPrint/src/DependsOnPrint.h b/modules/examples/DependsOnPrint/src/DependsOnPrint.h index 2f5dbdd..0089221 100644 --- a/modules/examples/DependsOnPrint/src/DependsOnPrint.h +++ b/modules/examples/DependsOnPrint/src/DependsOnPrint.h @@ -3,7 +3,7 @@ class DependsOnPrint : public Archimedes::Module { public: - DependsOnPrint(void*, Archimedes::App*); + DependsOnPrint(Archimedes::App*, void*); ~DependsOnPrint(); void run(); void onLoad() {} diff --git a/modules/examples/DependsOnPrintStatic/src/DependsOnPrintStatic.cpp b/modules/examples/DependsOnPrintStatic/src/DependsOnPrintStatic.cpp index 0721dd8..4aa2878 100644 --- a/modules/examples/DependsOnPrintStatic/src/DependsOnPrintStatic.cpp +++ b/modules/examples/DependsOnPrintStatic/src/DependsOnPrintStatic.cpp @@ -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() { diff --git a/modules/examples/DependsOnPrintStatic/src/DependsOnPrintStatic.h b/modules/examples/DependsOnPrintStatic/src/DependsOnPrintStatic.h index 8b37b5d..7824635 100644 --- a/modules/examples/DependsOnPrintStatic/src/DependsOnPrintStatic.h +++ b/modules/examples/DependsOnPrintStatic/src/DependsOnPrintStatic.h @@ -3,7 +3,7 @@ class DependsOnPrintStatic : public Archimedes::Module { public: - DependsOnPrintStatic(void*, Archimedes::App*); + DependsOnPrintStatic(Archimedes::App*, void*); ~DependsOnPrintStatic(); void run(); void onLoad() {} diff --git a/modules/examples/Print/src/Print.cpp b/modules/examples/Print/src/Print.cpp index e17c578..a2996a4 100644 --- a/modules/examples/Print/src/Print.cpp +++ b/modules/examples/Print/src/Print.cpp @@ -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"; } diff --git a/modules/examples/Print/src/Print.h b/modules/examples/Print/src/Print.h index addb83b..dbe93f1 100644 --- a/modules/examples/Print/src/Print.h +++ b/modules/examples/Print/src/Print.h @@ -3,7 +3,7 @@ class Print : public Archimedes::Module { public: - Print(void*, Archimedes::App*); + Print(Archimedes::App*, void*); ~Print(); void run(); void onLoad() {} diff --git a/modules/examples/TestMenu/src/TestMenu.cpp b/modules/examples/TestMenu/src/TestMenu.cpp index 9004b06..06bc21f 100644 --- a/modules/examples/TestMenu/src/TestMenu.cpp +++ b/modules/examples/TestMenu/src/TestMenu.cpp @@ -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"; } diff --git a/modules/examples/TestMenu/src/TestMenu.h b/modules/examples/TestMenu/src/TestMenu.h index b3ecd94..155822f 100644 --- a/modules/examples/TestMenu/src/TestMenu.h +++ b/modules/examples/TestMenu/src/TestMenu.h @@ -3,7 +3,7 @@ class TestMenu : public Archimedes::Module { public: - TestMenu(void*, Archimedes::App*); + TestMenu(Archimedes::App*, void*); ~TestMenu(); void run(); void onLoad() {}