view Renderer/Engine/Application.h @ 748:b7376415fa5f

TaskManager changeset 683, Renderer changeset 746
author hiroki
date Mon, 25 Jan 2010 18:01:19 +0900
parents d0b8860c17f8
children 50220f219341
line wrap: on
line source

#ifndef INCLUDED_APPLICATION
#define INCLUDED_APPLICATION

#include "SceneGraph.h"
#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 MainLoopPtr init(Viewer *viewer, int w, int h)  = 0;
};

#endif