diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-12-06 13:26:46 -0200 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-12-06 13:26:46 -0200 |
commit | e282ec268db0d17a1d53f813c5fff9473d25e797 (patch) | |
tree | 517e01b8685248f04548513091e7040a1b36ec0b /Project/ReactiveShuntElementForm.h | |
parent | d4efffcdedbb41596eecd0882a1cef76f6afc435 (diff) | |
parent | e266f5811403beea13c9cc5399c55db4a34fdd3c (diff) | |
download | PSP.git-e282ec268db0d17a1d53f813c5fff9473d25e797.tar.gz PSP.git-e282ec268db0d17a1d53f813c5fff9473d25e797.tar.xz PSP.git-e282ec268db0d17a1d53f813c5fff9473d25e797.zip |
Merge remote-tracking branch 'refs/remotes/origin/wip/currentState'
Diffstat (limited to 'Project/ReactiveShuntElementForm.h')
-rw-r--r-- | Project/ReactiveShuntElementForm.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Project/ReactiveShuntElementForm.h b/Project/ReactiveShuntElementForm.h new file mode 100644 index 0000000..c5562c2 --- /dev/null +++ b/Project/ReactiveShuntElementForm.h @@ -0,0 +1,27 @@ +#ifndef REACTIVESHUNTELEMENTFORM_H +#define REACTIVESHUNTELEMENTFORM_H +#include "ElementForm.h" +#include <wx/log.h> + +class Capacitor; +class Inductor; +class SwitchingForm; + +class ReactiveShuntElementForm : public ReactiveShuntElementFormBase +{ + public: + ReactiveShuntElementForm(wxWindow* parent, Capacitor* capacitor); + ReactiveShuntElementForm(wxWindow* parent, Inductor* inductor); + virtual ~ReactiveShuntElementForm(); + virtual bool ValidateData(); + + protected: + virtual void OnCancelButtonClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); } + virtual void OnOKButtonClick(wxCommandEvent& event); + virtual void OnStabilityButtonClick(wxCommandEvent& event); + + wxWindow* m_parent; + Capacitor* m_capacitor = NULL; + Inductor* m_inductor = NULL; +}; +#endif // REACTIVESHUNTELEMENTFORM_H |