Update-Installer/external/win32cpp/WCE samples/PocketPCFrame/FrameApp.h
Robert Knight d16da069e9 Add Win++ library to external
This is a thin wrapper around the Win32 API used in the Win32
Updater Dialog implementation.
2011-08-23 19:54:52 +01:00

26 lines
447 B
C++

#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