mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2025-02-08 23:01:51 +00:00
d16da069e9
This is a thin wrapper around the Win32 API used in the Win32 Updater Dialog implementation.
29 lines
519 B
C++
29 lines
519 B
C++
//////////////////////////////////////////////////
|
|
// SubclassApp.h
|
|
// Declaration of the CSubApp class
|
|
|
|
#ifndef SUBCLASSAPP_H
|
|
#define SUBCLASSAPP_H
|
|
|
|
#include "MainWin.h"
|
|
|
|
|
|
class CSubclassApp : public CWinApp
|
|
{
|
|
public:
|
|
CSubclassApp();
|
|
virtual ~CSubclassApp();
|
|
virtual BOOL InitInstance();
|
|
CMainWin& GetWin() { return m_Win; }
|
|
|
|
private:
|
|
CMainWin m_Win;
|
|
};
|
|
|
|
|
|
// returns a reference to the CSubclassApp object
|
|
inline CSubclassApp& GetSubApp() { return *((CSubclassApp*)GetApp()); }
|
|
|
|
|
|
#endif // define SUBCLASSAPP_H
|
|
|