#include <Application.h>
Inherited by GLApplication.
Inheritance diagram for Application:


Public Methods | |
| Application () | |
| Default constructor. More... | |
| virtual | ~Application () |
| Destructor. More... | |
| virtual bool | init (int argc, char *argv[]) |
| Initialize method. More... | |
| virtual int | start ()=0 |
| Runs the application. | |
Static Public Methods | |
| Application * | getApplication () |
| Returns the singleton instance. | |
A singleton class representing an application. Inheriting classes must implement start().
|
|
Default constructor. Creates an application instance and stores a reference to the single instance.
|
|
|
Destructor. Clears the reference to the single instance.
|
|
||||||||||||
|
Initialize method. Initializes the Application. When init returns true the application will be started.
|