view Dandy.h @ 8:5c405fb3b164

main routine for Cerium
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 07 Dec 2010 23:13:25 +0900
parents 6541f0bebb81
children c88a4f98b5ef
line wrap: on
line source

#ifndef INCLUDE_DANDY_H
#define INCLUDE_DANDY_H

#include "TaskManager.h"
#include "SceneGraph.h"
#include "Application.h"
#include "MainLoop.h"
#include "Func.h"

class Dandy : public Application {
    Application* application();
    bool app_main(Viewer *viewer);
    HTaskPtr application_task(HTaskPtr next, Viewer* viewer);
    MainLoopPtr init(Viewer *viewer, int w, int h);
};

typedef void (*move)(SceneGraphPtr node, void *sgroot_, int w, int h);
typedef void (*coll)(SceneGraphPtr node, void *sgroot_, int w, int h, SceneGraphPtr tree);

#endif