fix examples
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#include "DependsOnPrint.h"
|
#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";
|
name = "DependsOnPrint";
|
||||||
|
|
||||||
deps["Print"] = "/home/nathan/Projects/Archimedes/result-1/bin/Print";
|
deps["Print"] = "/home/nathan/Projects/Archimedes/result-1/bin/Print";
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
class DependsOnPrint : public Archimedes::Module {
|
class DependsOnPrint : public Archimedes::Module {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DependsOnPrint(void*, Archimedes::App*);
|
DependsOnPrint(Archimedes::App*, void*);
|
||||||
~DependsOnPrint();
|
~DependsOnPrint();
|
||||||
void run();
|
void run();
|
||||||
void onLoad() {}
|
void onLoad() {}
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
#include "DependsOnPrintStatic.h"
|
#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";
|
name = "DependsOnPrintStatic";
|
||||||
|
|
||||||
deps["Print"] = new Print(nullptr, a);
|
deps["Print"] = new Print(a, h);
|
||||||
}
|
}
|
||||||
|
|
||||||
DependsOnPrintStatic::~DependsOnPrintStatic() {
|
DependsOnPrintStatic::~DependsOnPrintStatic() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
class DependsOnPrintStatic : public Archimedes::Module {
|
class DependsOnPrintStatic : public Archimedes::Module {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DependsOnPrintStatic(void*, Archimedes::App*);
|
DependsOnPrintStatic(Archimedes::App*, void*);
|
||||||
~DependsOnPrintStatic();
|
~DependsOnPrintStatic();
|
||||||
void run();
|
void run();
|
||||||
void onLoad() {}
|
void onLoad() {}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "Print.h"
|
#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";
|
name = "Print";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
class Print : public Archimedes::Module {
|
class Print : public Archimedes::Module {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Print(void*, Archimedes::App*);
|
Print(Archimedes::App*, void*);
|
||||||
~Print();
|
~Print();
|
||||||
void run();
|
void run();
|
||||||
void onLoad() {}
|
void onLoad() {}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "TestMenu.h"
|
#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";
|
name = "TestMenu";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
class TestMenu : public Archimedes::Module {
|
class TestMenu : public Archimedes::Module {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
TestMenu(void*, Archimedes::App*);
|
TestMenu(Archimedes::App*, void*);
|
||||||
~TestMenu();
|
~TestMenu();
|
||||||
void run();
|
void run();
|
||||||
void onLoad() {}
|
void onLoad() {}
|
||||||
|
|||||||
Reference in New Issue
Block a user