mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2025-02-13 07:01:32 +00:00
32 lines
532 B
C
32 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
|
||
|
|