X-Git-Url: https://git.ucc.asn.au/?p=matches%2Fhonours.git;a=blobdiff_plain;f=research%2Ftransmission_spectroscopy%2FTOF%2FWin32%2B%2B%2FWCE%20samples%2FScribble%2FFrameApp.h;fp=research%2Ftransmission_spectroscopy%2FTOF%2FWin32%2B%2B%2FWCE%20samples%2FScribble%2FFrameApp.h;h=d49ddbe04e49b8134a9e9f7d05d30ba4046582d6;hp=0000000000000000000000000000000000000000;hb=70a96cca12cb006506461d26cd112bab179fe74c;hpb=8caf60af39689a3546074f0c68d14c3a2e28191e diff --git a/research/transmission_spectroscopy/TOF/Win32++/WCE samples/Scribble/FrameApp.h b/research/transmission_spectroscopy/TOF/Win32++/WCE samples/Scribble/FrameApp.h new file mode 100644 index 00000000..d49ddbe0 --- /dev/null +++ b/research/transmission_spectroscopy/TOF/Win32++/WCE samples/Scribble/FrameApp.h @@ -0,0 +1,26 @@ +#ifndef SIMPLEAPP_H +#define SIMPLEAPP_H + +#include "wincore.h" +#include "MainFrm.h" + + +class CWceFrameApp : public CWinApp +{ +public: + CWceFrameApp(); + virtual ~CWceFrameApp() {} + virtual BOOL InitInstance(); + CMainFrame& GetMainFrame() { return m_Frame; } + +private: + CMainFrame m_Frame; +}; + + +// returns a reference to the CWceFrameApp object +inline CWceFrameApp& GetFrameApp() { return *((CWceFrameApp*)GetApp()); } + + +#endif //SIMPLEAPP_H +