diff Renderer/Engine/Application.h @ 543:0c53fa91602f draft

fix
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 12 Oct 2009 17:46:20 +0900
parents 109a33b72b10
children 7a311860a76e
line wrap: on
line diff
--- a/Renderer/Engine/Application.h	Mon Oct 12 15:48:40 2009 +0900
+++ b/Renderer/Engine/Application.h	Mon Oct 12 17:46:20 2009 +0900
@@ -2,18 +2,20 @@
 #define INCLUDED_APPLICATION
 
 #include "SceneGraph.h"
-
-class Viewer;
+#include "MainLoop.h"
+#include "viewer.h"
 
 typedef void (*Move_func)(SceneGraph* node, int screen_w, int screen_h);
 typedef void (*Coll_func)(SceneGraph* node, int screen_w, int screen_h, SceneGraphPtr tree);
 
+class Viewer;
+
 class Application {
 public:
     Application();
     virtual ~Application();
     
-    virtual void init(Viewer *viewer, int w, int h)  = 0;
+    virtual MainLoopPtr init(Viewer *viewer, int w, int h)  = 0;
 
 };