1 // NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2010 Winch Gate Property Limited
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
18 #if !defined(AFX_SAVE_OPTIONS_DLG_H__0BDBD07A_2A59_4BC5_BBF0_0DE3425EA3BC__INCLUDED_)
19 #define AFX_SAVE_OPTIONS_DLG_H__0BDBD07A_2A59_4BC5_BBF0_0DE3425EA3BC__INCLUDED_
23 #endif // _MSC_VER > 1000
24 // save_options_dlg.h : header file
27 // 3 options message box, useful to confirm save for several files
28 class CSaveOptionsDlg
: public CDialog
32 enum TChoice
{ Yes
, No
, SaveAll
, Stop
};
33 CSaveOptionsDlg(const CString
&caption
, const CString
&message
, CWnd
* pParent
= NULL
); // standard constructor
34 // returns choice of the user after DoModal has been called
35 TChoice
getChoice() const { return _Choice
; }
38 //{{AFX_DATA(CSaveOptionsDlg)
39 enum { IDD
= IDD_SAVE_OPTIONS_DLG
};
40 // NOTE: the ClassWizard will add data members here
45 // ClassWizard generated virtual function overrides
46 //{{AFX_VIRTUAL(CSaveOptionsDlg)
48 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
53 // Generated message map functions
54 //{{AFX_MSG(CSaveOptionsDlg)
56 afx_msg
void OnSaveAll();
57 virtual void OnCancel();
58 virtual BOOL
OnInitDialog();
68 //{{AFX_INSERT_LOCATION}}
69 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
71 #endif // !defined(AFX_SAVE_OPTIONS_DLG_H__0BDBD07A_2A59_4BC5_BBF0_0DE3425EA3BC__INCLUDED_)