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.
31 lines
532 B
C++
31 lines
532 B
C++
//////////////////////////////////////////////////
|
|
// DialogApp.h
|
|
// Declaration of the CDialogApp class
|
|
|
|
#ifndef DIALOGAPP_H
|
|
#define DIALOGAPP_H
|
|
|
|
|
|
#include "dialog.h"
|
|
#include "MyDialog.h"
|
|
|
|
|
|
class CDialogApp : public CWinApp
|
|
{
|
|
public:
|
|
CDialogApp();
|
|
virtual ~CDialogApp();
|
|
virtual BOOL InitInstance();
|
|
CMyDialog& GetDlg() { return MyDialog; }
|
|
|
|
private:
|
|
CMyDialog MyDialog;
|
|
};
|
|
|
|
|
|
// returns a reference to the CDialogApp object
|
|
inline CDialogApp& GetDlgApp() { return *((CDialogApp*)GetApp()); }
|
|
|
|
|
|
#endif // define DIALOGAPP_H
|
|
|