Added aqua_speed for rite geo 50 tryker
[ryzomcore.git] / nel / tools / 3d / object_viewer / skippable_message_box.h
blobbe57cd2f03841e0702310536e3cc2c2f1397a648
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/>.
17 #if !defined(AFX_SKIPPABLE_MESSAGE_BOX_H__3311E633_C1A9_4994_9054_94094A8219B5__INCLUDED_)
18 #define AFX_SKIPPABLE_MESSAGE_BOX_H__3311E633_C1A9_4994_9054_94094A8219B5__INCLUDED_
20 #if _MSC_VER > 1000
21 #pragma once
22 #endif // _MSC_VER > 1000
23 // skippable_message_box.h : header file
26 /////////////////////////////////////////////////////////////////////////////
27 // CSkippableMessageBox dialog
30 // A skippabmle message box with user contenyt & caption
31 // The user can check an option to not see the dialog again
32 // this can be querried by calling 'getBypassFlag'
33 class CSkippableMessageBox : public CDialog
35 // Construction
36 public:
37 CSkippableMessageBox(const CString &caption, const CString &content, CWnd* pParent = NULL); // standard constructor
39 // Dialog Data
40 //{{AFX_DATA(CSkippableMessageBox)
41 enum { IDD = IDD_SKIPPABLE_MESSAGE_BOX };
42 // NOTE: the ClassWizard will add data members here
43 //}}AFX_DATA
45 // Test whether the user has checked the 'don't show again' check box
46 bool getBypassFlag() const { return _BypassFlag; }
48 // Overrides
49 // ClassWizard generated virtual function overrides
50 //{{AFX_VIRTUAL(CSkippableMessageBox)
51 protected:
52 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
53 //}}AFX_VIRTUAL
55 // Implementation
56 protected:
57 bool _BypassFlag;
58 CString _Caption;
59 CString _Content;
60 // Generated message map functions
61 //{{AFX_MSG(CSkippableMessageBox)
62 virtual BOOL OnInitDialog();
63 virtual void OnOK();
64 //}}AFX_MSG
65 DECLARE_MESSAGE_MAP()
68 //{{AFX_INSERT_LOCATION}}
69 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
71 #endif // !defined(AFX_SKIPPABLE_MESSAGE_BOX_H__3311E633_C1A9_4994_9054_94094A8219B5__INCLUDED_)