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
6
#ifndef ENVVARSPROJECTOPTIONSDLG_H
7
#define ENVVARSPROJECTOPTIONSDLG_H
10
#include <wx/string.h>
12
#include "configurationpanel.h"
17
// ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----
19
class EnvVarsProjectOptionsDlg : public cbConfigurationPanel
23
EnvVarsProjectOptionsDlg(wxWindow* parent, EnvVars* plugin,
26
virtual ~EnvVarsProjectOptionsDlg();
28
/// returns the title of the plugin configuration panel
29
virtual wxString GetTitle() const
30
{ return _("EnvVars options"); }
32
/// returns the title of the plugin's bitmap to use for settings
33
virtual wxString GetBitmapBaseName() const
34
{ return _T("generic-plugin"); }
37
/// Fires if the UI is being updated (wx event)
38
void OnUpdateUI(wxUpdateUIEvent& event);
41
/// Fires if the "apply" button is pressed inside project settings
42
virtual void OnApply();
44
/// Fires if the "cancel" button is pressed inside project settings
45
virtual void OnCancel()
48
EnvVars* m_pPlugin; //!< pointer to the EnvVars plugin (the parent)
49
cbProject* m_pProject; //!< pointer to the currently active C::B project
54
#endif // ENVVARSPROJECTOPTIONSDLG_H