00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _APPLICATION_H_
00021 #define _APPLICATION_H_
00022
00023 #include <boost/utility.hpp>
00024 #include <string>
00025 #include "Thread.h"
00026
00027 namespace TestFrameWork
00028 {
00029
00030 class ISubsystemsAllocator;
00031
00032 class Application :
00033 boost::noncopyable
00034 {
00035 public:
00036 Application(int argc, char** argv,
00037 const std::wstring& windowTitle,
00038 const ISubsystemsAllocator* subsystemsAllocator);
00039
00040 ~Application(void);
00041
00042 protected:
00043 friend class AppWindowListener;
00044
00045 ThreadPtr m_renderThread;
00046 ThreadPtr m_logicThread;
00047
00048 };
00049
00050 }
00051
00052 #endif
00053
00054