diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-09-23 17:46:10 -0300 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-09-23 17:46:10 -0300 |
commit | a9dd78afddeb706df6652eb91f229a74fd073846 (patch) | |
tree | dfc6130a9c9c5022fcb2baae3f6cf238a99786e8 /Project/GeneratorStabForm.h | |
parent | 1088617b8f1c31af3ad6a87f9934f7a55240b3a2 (diff) | |
download | PSP.git-a9dd78afddeb706df6652eb91f229a74fd073846.tar.gz PSP.git-a9dd78afddeb706df6652eb91f229a74fd073846.tar.xz PSP.git-a9dd78afddeb706df6652eb91f229a74fd073846.zip |
Generator form implemented
Diffstat (limited to 'Project/GeneratorStabForm.h')
-rw-r--r-- | Project/GeneratorStabForm.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Project/GeneratorStabForm.h b/Project/GeneratorStabForm.h new file mode 100644 index 0000000..e7d7edc --- /dev/null +++ b/Project/GeneratorStabForm.h @@ -0,0 +1,27 @@ +#ifndef GENERATORSTABFORM_H +#define GENERATORSTABFORM_H + +#include "ElementForm.h" +class SyncGenerator; + +class GeneratorStabForm : public GeneratorStabFormBase +{ +public: + GeneratorStabForm(wxWindow* parent, SyncGenerator* syncGenerator); + virtual ~GeneratorStabForm(); + +protected: + virtual void UseAVRClick(wxCommandEvent& event); + virtual void UseSGClick(wxCommandEvent& event); + virtual void OnCancelButtonClick(wxCommandEvent& event); + virtual void OnEditAVRButtonClick(wxCommandEvent& event); + virtual void OnOKButtonClick(wxCommandEvent& event); + virtual void OnSpeedGovernorButtonClick(wxCommandEvent& event); + virtual void OnSwitchingButtonClick(wxCommandEvent& event); + + virtual bool ValidateData(); + + SyncGenerator* m_syncGenerator; + wxWindow* m_parent; +}; +#endif // GENERATORSTABFORM_H |