-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
55 lines (35 loc) · 874 Bytes
/
main.cpp
File metadata and controls
55 lines (35 loc) · 874 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//#include"lib/Game.h"
//#include"editor/Editor.h"
#include "Application.h"
#include "utils/sigc++/sigc++.h"
#pragma -lSDL -lGL -lGLU
using namespace std;
class AlienDetector
{
public:
AlienDetector();
void run();
sigc::signal<void> signal_detected;
};
AlienDetector::AlienDetector() {}
void AlienDetector::run() {}
void warn_people()
{
cout << "There are aliens in the carpark!" << endl;
}
int main(int argc, char* argv[])
{
Application app;
app.execute();
// AlienDetector mydetector;
// mydetector.signal_detected.connect( sigc::ptr_fun(warn_people) );
// mydetector.run();
// ŔEditor* editor = new Editor();
// editor->loop();
// Game *game = new Game();
// game->MainLoop();
// DisplayConfig* config = new DisplayConfig();
// config->readConfig();
// config->writeConfig();
return 0;
}