36 lines
434 B
C++
36 lines
434 B
C++
#ifndef LIME_APP_APPLICATION_H
|
|
#define LIME_APP_APPLICATION_H
|
|
|
|
|
|
#include <system/CFFI.h>
|
|
|
|
|
|
namespace lime {
|
|
|
|
|
|
class Application {
|
|
|
|
|
|
public:
|
|
|
|
virtual ~Application () {};
|
|
|
|
static AutoGCRoot* callback;
|
|
|
|
virtual int Exec () = 0;
|
|
virtual void Init () = 0;
|
|
virtual int Quit () = 0;
|
|
virtual void SetFrameRate (double frameRate) = 0;
|
|
virtual bool Update () = 0;
|
|
|
|
|
|
};
|
|
|
|
|
|
Application* CreateApplication ();
|
|
|
|
|
|
}
|
|
|
|
|
|
#endif |