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_SCHEME_BANK_DLG_H__C3639E36_1266_4D32_9CC3_5B9E3CD79F93__INCLUDED_)
19 #define AFX_SCHEME_BANK_DLG_H__C3639E36_1266_4D32_9CC3_5B9E3CD79F93__INCLUDED_
27 class CPSAttribMakerBase
;
30 class CSchemeBankDlg
: public CDialog
34 CSchemeBankDlg(const std::string
&type
, CWnd
* pParent
= NULL
); // standard constructor
37 // get the scheme that has been selected, or NULL if none
38 NL3D::CPSAttribMakerBase
*getSelectedScheme() { return _CurrScheme
; }
44 //{{AFX_DATA(CSchemeBankDlg)
45 enum { IDD
= IDD_SCHEME_BANK_DLG
};
46 CListBox m_SchemeList
;
51 // ClassWizard generated virtual function overrides
52 //{{AFX_VIRTUAL(CSchemeBankDlg)
54 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
60 NL3D::CPSAttribMakerBase
*_CurrScheme
;
61 // Generated message map functions
62 //{{AFX_MSG(CSchemeBankDlg)
63 virtual BOOL
OnInitDialog();
64 afx_msg
void OnSelchangeSchemeList();
65 afx_msg
void OnSaveBank();
66 afx_msg
void OnLoadBank();
67 afx_msg
void OnRemove();
68 afx_msg
void OnRename();
73 //{{AFX_INSERT_LOCATION}}
74 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
76 #endif // !defined(AFX_SCHEME_BANK_DLG_H__C3639E36_1266_4D32_9CC3_5B9E3CD79F93__INCLUDED_)