Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Application.h

00001 /*
00002   File: Application.cpp
00003 
00004   Copyright(C) C. Kotterink, Computed Graphics
00005 */
00006 #ifndef APPLICATION_H
00007 #define APPLICATION_H
00008 
00009 #include<Mutex.h>
00010 
00017 class Application
00018 {
00019 public:
00021     static Application *getApplication() {
00022         return application;
00023     }
00024 
00026     Application();
00028     virtual ~Application();
00029 
00031     virtual bool init(int argc, char *argv[]);
00032 
00034     virtual int start() = 0;
00035 
00036 private:
00038     static Mutex mutex;
00039 
00041     static Application *application;
00042 };
00043 #endif

This documentation was generated using doxygen. If you have any comments or additions please mail me.