Linux multi-monitor fullscreen support
[ryzomcore.git] / nel / tools / misc / log_analyser / PlugInSelector.h
blobc23db1c7a5a8f99def989f54b2c0977668a9a428
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_PLUGINSELECTOR_H__3BA56BCC_F700_4C1E_9C56_E34561C8DB61__INCLUDED_)
18 #define AFX_PLUGINSELECTOR_H__3BA56BCC_F700_4C1E_9C56_E34561C8DB61__INCLUDED_
20 #if _MSC_VER > 1000
21 #pragma once
22 #endif // _MSC_VER > 1000
23 // PlugInSelector.h : header file
26 #include <vector>
27 #include <string>
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
38 // Construction
39 public:
40 CPlugInSelector(CWnd* pParent = NULL); // standard constructor
42 // Dialog Data
43 //{{AFX_DATA(CPlugInSelector)
44 enum { IDD = IDD_PLUGINSELECTOR_DIALOG };
45 CListBox m_PlugInListBox;
46 //}}AFX_DATA
49 void setPluginList( const std::vector<CString>& cont ) { Dlls = &cont; }
51 const std::vector<CString> *Dlls;
52 HINSTANCE LibInst;
53 TAnalyseFunc AnalyseFunc;
56 // Overrides
57 // ClassWizard generated virtual function overrides
58 //{{AFX_VIRTUAL(CPlugInSelector)
59 protected:
60 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
61 //}}AFX_VIRTUAL
63 // Implementation
64 protected:
66 // Generated message map functions
67 //{{AFX_MSG(CPlugInSelector)
68 virtual BOOL OnInitDialog();
69 afx_msg void OnSelchangeList1();
70 virtual void OnCancel();
71 //}}AFX_MSG
72 DECLARE_MESSAGE_MAP()
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_)