1 /* 2 * Copyright 2010-2017, 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 9 #include <Server.h> 10 11 12 class NotificationWindow; 13 14 15 class NotificationServer : public BServer { 16 public: 17 NotificationServer(status_t& error); 18 virtual ~NotificationServer(); 19 20 virtual void ReadyToRun(); 21 virtual void MessageReceived(BMessage* message); 22 23 virtual status_t GetSupportedSuites(BMessage* msg); 24 virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, 25 BMessage* spec, int32 form, 26 const char* prop); 27 28 private: 29 NotificationWindow* fWindow; 30 }; 31 32 33 #endif // _NOTIFICATION_SERVER_H 34