0
|
1 #ifndef INCLUDE_DANDY_H
|
|
2 #define INCLUDE_DANDY_H
|
|
3
|
|
4 #include "TaskManager.h"
|
|
5 #include "SceneGraph.h"
|
|
6 #include "Application.h"
|
|
7 #include "MainLoop.h"
|
|
8
|
|
9 class Dandy : public Application {
|
|
10 bool app_loop(Viewer *viewer);
|
|
11 HTaskPtr application_task(HTaskPtr next, Viewer* viewer);
|
|
12 MainLoopPtr init(Viewer *viewer, int w, int h);
|
|
13 };
|
|
14
|
|
15 typedef void (*move)(SceneGraphPtr node, void *sgroot_, int w, int h);
|
|
16 typedef void (*coll)(SceneGraphPtr node, void *sgroot_, int w, int h, SceneGraphPtr tree);
|
|
17
|
|
18 #endif
|