1 /* 2 * Copyright 2010, Haiku, Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _NOTIFICATION_SERVER_H 6 #define _NOTIFICATION_SERVER_H 7 8 #include <Application.h> 9 10 class NotificationWindow; 11 12 class NotificationServer : public BApplication { 13 public: 14 NotificationServer(); 15 virtual ~NotificationServer(); 16 17 virtual void ReadyToRun(); 18 virtual void MessageReceived(BMessage* message); 19 20 virtual status_t GetSupportedSuites(BMessage* msg); 21 virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* spec, 22 int32 form, const char* prop); 23 24 private: 25 NotificationWindow* fWindow; 26 }; 27 28 #endif // _NOTIFICATION_SERVER_H 29