view Dandy.h @ 1:b4c797eee72a

task dandy base
author koba <koba@cr.ie.u-ryukyu.ac.jp>
date Mon, 13 Dec 2010 04:56:23 +0900
parents 435ac1cdb64e
children
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"

class Dandy : public Application {
    bool app_loop(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