Commit before breaking everything
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / WCE samples / PocketPCFrame / FrameApp.h
1 #ifndef SIMPLEAPP_H\r
2 #define SIMPLEAPP_H\r
3 \r
4 #include "wincore.h"\r
5 #include "MainFrm.h"\r
6 \r
7 \r
8 class CWceFrameApp : public CWinApp\r
9 {\r
10 public:\r
11     CWceFrameApp();\r
12     virtual ~CWceFrameApp() {}\r
13         virtual BOOL InitInstance();\r
14         CMainFrame& GetMainFrame() { return m_Frame; }\r
15 \r
16 private:\r
17     CMainFrame m_Frame;\r
18 };\r
19 \r
20 \r
21 // returns a reference to the CWceFrameApp object\r
22 inline CWceFrameApp& GetFrameApp() { return *((CWceFrameApp*)GetApp()); }\r
23 \r
24 \r
25 #endif //SIMPLEAPP_H\r
26 \r

UCC git Repository :: git.ucc.asn.au