summaryrefslogtreecommitdiffstats
path: root/Project/GeneratorStabForm.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project/GeneratorStabForm.h')
-rw-r--r--Project/GeneratorStabForm.h27
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