add TestNotCurses
This commit is contained in:
@@ -6,8 +6,6 @@ class Print : public Archimedes::Module {
|
||||
Print(Archimedes::App*, void*);
|
||||
~Print();
|
||||
void run();
|
||||
void onLoad() {}
|
||||
|
||||
};
|
||||
|
||||
#ifdef PRINT_DYNAMIC
|
||||
|
||||
17
modules/examples/TestNotCurses/src/TestNotCurses.cpp
Normal file
17
modules/examples/TestNotCurses/src/TestNotCurses.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "TestNotCurses.h"
|
||||
|
||||
TestNotCurses::TestNotCurses(Archimedes::App* a, void* h) : Archimedes::Module(a, h) {
|
||||
name = "TestNotCurses";
|
||||
}
|
||||
|
||||
TestNotCurses::~TestNotCurses() {
|
||||
|
||||
}
|
||||
|
||||
void TestNotCurses::onLoad() {
|
||||
|
||||
}
|
||||
|
||||
void TestNotCurses::run() {
|
||||
|
||||
}
|
||||
17
modules/examples/TestNotCurses/src/TestNotCurses.h
Normal file
17
modules/examples/TestNotCurses/src/TestNotCurses.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "Archimedes.h"
|
||||
|
||||
#include <notcurses/notcurses.h>
|
||||
|
||||
class TestNotCurses : public Archimedes::Module {
|
||||
|
||||
public:
|
||||
TestNotCurses(Archimedes::App*, void*);
|
||||
~TestNotCurses();
|
||||
void run();
|
||||
void onLoad();
|
||||
};
|
||||
|
||||
#ifdef TESTNOTCURSES_DYNAMIC
|
||||
#define MODULE_TYPE TestNotCurses
|
||||
#include "endModule.h"
|
||||
#endif
|
||||
Reference in New Issue
Block a user