summaryrefslogtreecommitdiffstats
path: root/Project/GeneratorForm.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project/GeneratorForm.h')
-rw-r--r--Project/GeneratorForm.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/Project/GeneratorForm.h b/Project/GeneratorForm.h
new file mode 100644
index 0000000..e017852
--- /dev/null
+++ b/Project/GeneratorForm.h
@@ -0,0 +1,29 @@
+#ifndef GENERATORFORM_H
+#define GENERATORFORM_H
+
+#include "ElementForm.h"
+
+class GeneratorStabForm;
+class SyncGenerator;
+
+class GeneratorForm : public GeneratorFormBase
+{
+ public:
+ GeneratorForm(wxWindow* parent, SyncGenerator* syncGenerator);
+ virtual ~GeneratorForm();
+
+protected:
+ virtual void OnStabilityButtonClick(wxCommandEvent& event);
+ virtual void OnCancelButtonClick(wxCommandEvent& event);
+ virtual void OnCheckMaxReactive(wxCommandEvent& event);
+ virtual void OnCheckMinReactive(wxCommandEvent& event);
+ virtual void OnOKButtonClick(wxCommandEvent& event);
+
+ virtual bool ValidateData();
+ virtual void ReplaceStaticTextLabelChar(wxStaticText* staticText, wchar_t newChar);
+
+ SyncGenerator* m_syncGenerator;
+ wxWindow* m_parent;
+
+};
+#endif // GENERATORFORM_H