Modules are static by default
This commit is contained in:
@@ -12,5 +12,5 @@ DependsOnPrint::~DependsOnPrint() {
|
||||
|
||||
void DependsOnPrint::run() {
|
||||
std::cout << "DependsOnPrint lib loaded and run!\n";
|
||||
app->stopModule(self);
|
||||
app->stopModule(name);
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ class DependsOnPrint : public Archimedes::Module {
|
||||
|
||||
};
|
||||
|
||||
#ifndef DEPENDSONPRINT_STATIC
|
||||
#ifdef DEPENDSONPRINT_DYNAMIC
|
||||
#define MODULE_TYPE DependsOnPrint
|
||||
#include "endModule.h"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user