1 /* 2 * This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3 3 * http://www.gnu.org/licenses/lgpl-3.0.html 4 */ 5 6 #ifndef EXTERNALDEPSDLG_H 7 #define EXTERNALDEPSDLG_H 8 9 #include "settings.h" 10 #include "scrollingdialog.h" 11 12 class cbProject; 13 class ProjectBuildTarget; 14 15 class DLLIMPORT ExternalDepsDlg : public wxScrollingDialog 16 { 17 public: 18 ExternalDepsDlg(wxWindow* parent, cbProject* project, ProjectBuildTarget* target); 19 ~ExternalDepsDlg() override; 20 21 void EndModal(int retCode) override; 22 protected: 23 void FillAdditional(); 24 void FillExternal(); 25 26 // BYO: Do___ functions xhanged to defines in .cpp because of incompatibilities 27 // with unicode build 28 29 //void DoAdd(const wxString& listbox, const wxString& message); 30 //void DoEdit(const wxString& listbox, const wxString& message); 31 //void DoDel(const wxString& listbox); 32 33 void OnAddAdditional(wxCommandEvent& event); 34 void OnEditAdditional(wxCommandEvent& event); 35 void OnDelAdditional(wxCommandEvent& event); 36 37 void OnAddExternal(wxCommandEvent& event); 38 void OnEditExternal(wxCommandEvent& event); 39 void OnDelExternal(wxCommandEvent& event); 40 41 void OnUpdateUI(wxUpdateUIEvent& event); 42 43 cbProject* m_pProject; 44 ProjectBuildTarget* m_pTarget; 45 private: 46 DECLARE_EVENT_TABLE() 47 }; 48 49 #endif // EXTERNALDEPSDLG_H 50