00001
00002
00003 #pragma once
00004
00005 #ifndef __AFXWIN_H__
00006 #error include 'stdafx.h' before including this file for PCH
00007 #endif
00008
00009 #include "resources.h"
00010
00011
00012
00013
00014
00015
00016 class CGUIEditorApp : public CWinApp
00017 {
00018 public:
00019 CGUIEditorApp();
00020
00021 unsigned int m_uiGUIUID;
00022
00023
00024
00025
00026 public:
00027 virtual BOOL InitInstance();
00028
00029 void LoadApp(CString strFilename);
00030
00031 private:
00032 LONGLONG m_lCurTime;
00033 DWORD m_dwTimeCount;
00034 LONGLONG m_lPerfCounter;
00035 BOOL m_bPerFlag;
00036 LONGLONG m_lNextTime;
00037 LONGLONG m_lLastTime;
00038 double m_dTimeElapsed;
00039 double m_dTimeScale;
00040 LONGLONG m_lFramesPerSecond;
00041
00042 CView *m_pLastView;
00043
00044
00045 afx_msg void OnAppAbout();
00046
00047
00048
00049
00050 protected:
00051 virtual int Run();
00052
00053 DECLARE_MESSAGE_MAP()
00054 public:
00055 afx_msg void OnFileSave();
00056 afx_msg void OnMenuFileSave();
00057 };