1 // MainControlWindow.h 2 3 #ifndef MAIN_CONTROL_WINDOW_H 4 #define MAIN_CONTROL_WINDOW_H 5 6 #include <Window.h> 7 #include <Button.h> 8 9 #define ADD_VIEW_BUTTON_ID 1 10 #define ADD_TRANSLATORS_BUTTON_ID 2 11 12 class MainControlWindow : public BWindow { 13 public: 14 MainControlWindow(); 15 16 virtual bool QuitRequested(); 17 virtual void MessageReceived(BMessage *pMsg); 18 19 private: 20 BButton *fbtnAddView; 21 BButton *fbtnAddTranslators; 22 }; 23 24 #endif