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 <sdk.h>
10 #ifndef CB_PRECOMP
11     #include <wx/intl.h>
12     #include <settings.h>
13     #include <configurationpanel.h>
14 #endif
15 
16 #include "nativeparserf.h"
17 #include "parserf.h"
18 
19 class cbProject;
20 
21 class FPOptionsProjectDlg : public cbConfigurationPanel
22 {
23 public:
24     FPOptionsProjectDlg(wxWindow* parent, cbProject* project, NativeParserF* np);
25     virtual ~FPOptionsProjectDlg();
26 
GetTitle()27     virtual wxString GetTitle() const          { return _("Fortran"); }
GetBitmapBaseName()28     virtual wxString GetBitmapBaseName() const { return _T("generic-plugin"); }
29     virtual void OnApply();
OnCancel()30     virtual void OnCancel(){}
31 
32 protected:
33     void OnAdd(wxCommandEvent& event);
34     void OnEdit(wxCommandEvent& event);
35     void OnDelete(wxCommandEvent& event);
36     void OnUpdateUI(wxUpdateUIEvent& event);
37 
38 private:
39     cbProject*    m_pProject;
40     NativeParserF* m_pNativeParser;
41     wxArrayString m_OldPaths;
42 
43     DECLARE_EVENT_TABLE()
44 };
45 
46 #endif // CCOPTIONSPRJDLG_H
47