mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2025-02-08 23:01:51 +00:00
This is a thin wrapper around the Win32 API used in the Win32 Updater Dialog implementation.
25 lines
415 B
C++
25 lines
415 B
C++
#ifndef SIMPLEAPP_H
|
|
#define SIMPLEAPP_H
|
|
|
|
#include "wincore.h"
|
|
#include "view.h"
|
|
|
|
|
|
class CSimpleApp : public CWinApp
|
|
{
|
|
public:
|
|
CSimpleApp();
|
|
virtual ~CSimpleApp() {}
|
|
virtual BOOL InitInstance();
|
|
CView& GetView() { return m_View; }
|
|
|
|
private:
|
|
CView m_View;
|
|
};
|
|
|
|
|
|
// returns a reference to the CSimpleApp object
|
|
inline CSimpleApp& GetSimpleApp() { return *((CSimpleApp*)GetApp()); }
|
|
|
|
|
|
#endif //SIMPLEAPP_H
|