Added aqua_speed for rite geo 50 tryker
[ryzomcore.git] / nel / tools / 3d / object_viewer / save_options_dlg.h
blobed8591f1c5be7ba1dda66c4bc82445fa78737dbe
1 // NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
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.
8 //
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_
21 #if _MSC_VER > 1000
22 #pragma once
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
30 // Construction
31 public:
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; }
37 // Dialog Data
38 //{{AFX_DATA(CSaveOptionsDlg)
39 enum { IDD = IDD_SAVE_OPTIONS_DLG };
40 // NOTE: the ClassWizard will add data members here
41 //}}AFX_DATA
44 // Overrides
45 // ClassWizard generated virtual function overrides
46 //{{AFX_VIRTUAL(CSaveOptionsDlg)
47 protected:
48 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
49 //}}AFX_VIRTUAL
51 // Implementation
52 protected:
53 // Generated message map functions
54 //{{AFX_MSG(CSaveOptionsDlg)
55 virtual void OnOK();
56 afx_msg void OnSaveAll();
57 virtual void OnCancel();
58 virtual BOOL OnInitDialog();
59 afx_msg void OnNo();
60 //}}AFX_MSG
61 DECLARE_MESSAGE_MAP()
62 private:
63 TChoice _Choice;
64 CString _Caption;
65 CString _Message;
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_)