1 /* 2 * Copyright 2001-2005, Haiku. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Rafael Romo 7 * Stefano Ceccherini (burton666@libero.it) 8 * Axel Dörfler, axeld@pinc-software.de 9 */ 10 #ifndef ALERT_WINDOW_H 11 #define ALERT_WINDOW_H 12 13 14 #include <Window.h> 15 #include <Messenger.h> 16 17 18 class BMessageRunner; 19 class BButton; 20 class AlertView; 21 22 23 class AlertWindow : public BWindow { 24 public: 25 AlertWindow(BMessenger target); 26 27 virtual void MessageReceived(BMessage *message); 28 29 private: 30 BMessenger fTarget; 31 AlertView* fAlertView; 32 }; 33 34 #endif /* ALERT_WINDOW_H */ 35