1 // AlertTestWindow.h 2 3 #ifndef ALERT_TEST_WINDOW_H 4 #define ALERT_TEST_WINDOW_H 5 6 #include <Window.h> 7 #include <Button.h> 8 #include <StringView.h> 9 10 #define MSG_RUN_BUTTON 'mRNB' 11 12 class AlertTestWindow : public BWindow { 13 public: 14 AlertTestWindow(BRect frame); 15 virtual void MessageReceived(BMessage *message); 16 virtual bool QuitRequested(); 17 18 private: 19 void Test(); 20 21 char fAlertType; 22 BButton *fRunButton; 23 BStringView *fTitleView; 24 }; 25 26 #endif // #ifndef ALERT_TEST_WINDOW_H 27 28