Code::Blocks  SVN r11506
ccoptionsprjdlg.h
Go to the documentation of this file.
1 /*
2  * This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
3  * http://www.gnu.org/licenses/gpl-3.0.html
4  */
5 
6 #ifndef CCOPTIONSPRJDLG_H
7 #define CCOPTIONSPRJDLG_H
8 
9 #include <wx/intl.h>
10 #include "configurationpanel.h"
11 #include <settings.h>
12 #include "nativeparser.h"
13 #include "parser/parser.h"
14 
15 class cbProject;
16 
18 {
19 public:
20  CCOptionsProjectDlg(wxWindow* parent, cbProject* project, NativeParser* np);
21  virtual ~CCOptionsProjectDlg();
22 
23  virtual wxString GetTitle() const { return _("C/C++ parser options"); }
24  virtual wxString GetBitmapBaseName() const { return _T("generic-plugin"); }
25  virtual void OnApply();
26  virtual void OnCancel(){}
27 
28 protected:
29  void OnAdd(wxCommandEvent& event);
30  void OnEdit(wxCommandEvent& event);
31  void OnDelete(wxCommandEvent& event);
32  void OnUpdateUI(wxUpdateUIEvent& event);
33 
34 private:
39 
40  DECLARE_EVENT_TABLE()
41 };
42 
43 #endif // CCOPTIONSPRJDLG_H
void OnAdd(wxCommandEvent &event)
void OnEdit(wxCommandEvent &event)
void OnDelete(wxCommandEvent &event)
virtual wxString GetTitle() const
void OnUpdateUI(wxUpdateUIEvent &event)
#define _T(string)
virtual ~CCOptionsProjectDlg()
Represents a Code::Blocks project.
Definition: cbproject.h:96
virtual wxString GetBitmapBaseName() const
const wxString & _(const wxString &string)
Base class for plugin configuration panels.
NativeParser class is just like a manager class to control Parser objects.
Definition: nativeparser.h:55
virtual void OnCancel()
Called when the user chooses to cancel the configuration.
wxArrayString m_OldPaths
ParserBase * m_Parser
CCOptionsProjectDlg(wxWindow *parent, cbProject *project, NativeParser *np)
NativeParser * m_NativeParser
virtual void OnApply()
Called when the user chooses to apply the configuration.