mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 11:19:07 +00:00
77 lines
2.3 KiB
C
77 lines
2.3 KiB
C
|
// NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
|
||
|
// Copyright (C) 2010 Winch Gate Property Limited
|
||
|
//
|
||
|
// This program is free software: you can redistribute it and/or modify
|
||
|
// it under the terms of the GNU Affero General Public License as
|
||
|
// published by the Free Software Foundation, either version 3 of the
|
||
|
// License, or (at your option) any later version.
|
||
|
//
|
||
|
// This program is distributed in the hope that it will be useful,
|
||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
// GNU Affero General Public License for more details.
|
||
|
//
|
||
|
// You should have received a copy of the GNU Affero General Public License
|
||
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||
|
|
||
|
|
||
|
#if !defined(AFX_SCHEME_BANK_DLG_H__C3639E36_1266_4D32_9CC3_5B9E3CD79F93__INCLUDED_)
|
||
|
#define AFX_SCHEME_BANK_DLG_H__C3639E36_1266_4D32_9CC3_5B9E3CD79F93__INCLUDED_
|
||
|
|
||
|
#if _MSC_VER > 1000
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
namespace NL3D
|
||
|
{
|
||
|
class CPSAttribMakerBase;
|
||
|
}
|
||
|
|
||
|
class CSchemeBankDlg : public CDialog
|
||
|
{
|
||
|
// Construction
|
||
|
public:
|
||
|
CSchemeBankDlg(const std::string &type, CWnd* pParent = NULL); // standard constructor
|
||
|
|
||
|
|
||
|
// get the scheme that has been selected, or NULL if none
|
||
|
NL3D::CPSAttribMakerBase *getSelectedScheme() { return _CurrScheme; }
|
||
|
|
||
|
void buildList();
|
||
|
|
||
|
|
||
|
// Dialog Data
|
||
|
//{{AFX_DATA(CSchemeBankDlg)
|
||
|
enum { IDD = IDD_SCHEME_BANK_DLG };
|
||
|
CListBox m_SchemeList;
|
||
|
//}}AFX_DATA
|
||
|
|
||
|
|
||
|
// Overrides
|
||
|
// ClassWizard generated virtual function overrides
|
||
|
//{{AFX_VIRTUAL(CSchemeBankDlg)
|
||
|
protected:
|
||
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||
|
//}}AFX_VIRTUAL
|
||
|
|
||
|
// Implementation
|
||
|
protected:
|
||
|
std::string _Type;
|
||
|
NL3D::CPSAttribMakerBase *_CurrScheme;
|
||
|
// Generated message map functions
|
||
|
//{{AFX_MSG(CSchemeBankDlg)
|
||
|
virtual BOOL OnInitDialog();
|
||
|
afx_msg void OnSelchangeSchemeList();
|
||
|
afx_msg void OnSaveBank();
|
||
|
afx_msg void OnLoadBank();
|
||
|
afx_msg void OnRemove();
|
||
|
afx_msg void OnRename();
|
||
|
//}}AFX_MSG
|
||
|
DECLARE_MESSAGE_MAP()
|
||
|
};
|
||
|
|
||
|
//{{AFX_INSERT_LOCATION}}
|
||
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
||
|
|
||
|
#endif // !defined(AFX_SCHEME_BANK_DLG_H__C3639E36_1266_4D32_9CC3_5B9E3CD79F93__INCLUDED_)
|