mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2024-12-02 00:21:49 +00:00
d16da069e9
This is a thin wrapper around the Win32 API used in the Win32 Updater Dialog implementation.
26 lines
447 B
C++
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
|
|
|