diff options
Diffstat (limited to 'Master/Modellbildung_und_Simulation/Aufgabenblatt1/DFTApp/src/DFTAppController.h')
| -rw-r--r-- | Master/Modellbildung_und_Simulation/Aufgabenblatt1/DFTApp/src/DFTAppController.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Master/Modellbildung_und_Simulation/Aufgabenblatt1/DFTApp/src/DFTAppController.h b/Master/Modellbildung_und_Simulation/Aufgabenblatt1/DFTApp/src/DFTAppController.h new file mode 100644 index 0000000..0b2f22e --- /dev/null +++ b/Master/Modellbildung_und_Simulation/Aufgabenblatt1/DFTApp/src/DFTAppController.h @@ -0,0 +1,40 @@ +/* + * DFTAppController.h + * + * Created on: 29.04.2011 + * Author: sven + */ + +#ifndef DFTAPPCONTROLLER_H_ +#define DFTAPPCONTROLLER_H_ + +#ifndef _GTKMM_H + #include <gtkmm.h> +#endif + +#ifndef DFTAPP_PARAMETERS_H_ + #include "DFTAppParameters.h" +#endif + +class DFTAppController { +public: + DFTAppController(); + virtual ~DFTAppController(); + void startApp(Gtk::Main&); +private: + static const char* UI_FILENAME; + DFTAppParameters mParams; + Gtk::Window* mPtrMainWin; + Gtk::Button* mPtrStartBtn; + Gtk::Button* mPtrOpenBtn; + Gtk::Entry* mPtrInputFileEntry; + Gtk::Entry* mPtrNumSamplesEntry; + Gtk::TextView* mPtrTextView; + Glib::RefPtr<Gtk::TextBuffer> mRefPtrTextBuffer; + + void on_button_start(); + void on_button_open(); + void on_numsamples_changed(); +}; + +#endif /* DFTAPPCONTROLLER_H_ */ |
