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/>.
17 #if !defined(AFX_PLUGINSELECTOR_H__3BA56BCC_F700_4C1E_9C56_E34561C8DB61__INCLUDED_)
18 #define AFX_PLUGINSELECTOR_H__3BA56BCC_F700_4C1E_9C56_E34561C8DB61__INCLUDED_
22 #endif // _MSC_VER > 1000
23 // PlugInSelector.h : header file
29 typedef std::string (*TInfoFunc
) (void);
30 typedef bool (*TAnalyseFunc
)( const std::vector
<const char *>&, std::string
&, std::string
& );
33 /////////////////////////////////////////////////////////////////////////////
34 // CPlugInSelector dialog
36 class CPlugInSelector
: public CDialog
40 CPlugInSelector(CWnd
* pParent
= NULL
); // standard constructor
43 //{{AFX_DATA(CPlugInSelector)
44 enum { IDD
= IDD_PLUGINSELECTOR_DIALOG
};
45 CListBox m_PlugInListBox
;
49 void setPluginList( const std::vector
<CString
>& cont
) { Dlls
= &cont
; }
51 const std::vector
<CString
> *Dlls
;
53 TAnalyseFunc AnalyseFunc
;
57 // ClassWizard generated virtual function overrides
58 //{{AFX_VIRTUAL(CPlugInSelector)
60 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
66 // Generated message map functions
67 //{{AFX_MSG(CPlugInSelector)
68 virtual BOOL
OnInitDialog();
69 afx_msg
void OnSelchangeList1();
70 virtual void OnCancel();
75 //{{AFX_INSERT_LOCATION}}
76 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
78 #endif // !defined(AFX_PLUGINSELECTOR_H__3BA56BCC_F700_4C1E_9C56_E34561C8DB61__INCLUDED_)