xref: /haiku/src/servers/notification/NotificationServer.h (revision 6aa0587222b965a635512f99861a5f6a9ad465a8)
1de9dcd41SStephan Aßmus /*
2*6aa05872SBrian Hill  * Copyright 2010-2017, Haiku, Inc. All Rights Reserved.
3de9dcd41SStephan Aßmus  * Distributed under the terms of the MIT License.
4de9dcd41SStephan Aßmus  */
5de9dcd41SStephan Aßmus #ifndef _NOTIFICATION_SERVER_H
6de9dcd41SStephan Aßmus #define _NOTIFICATION_SERVER_H
7de9dcd41SStephan Aßmus 
8b5e496b5SAxel Dörfler 
9b5e496b5SAxel Dörfler #include <Server.h>
10b5e496b5SAxel Dörfler 
11de9dcd41SStephan Aßmus 
12de9dcd41SStephan Aßmus class NotificationWindow;
13de9dcd41SStephan Aßmus 
14b5e496b5SAxel Dörfler 
15b5e496b5SAxel Dörfler class NotificationServer : public BServer {
16de9dcd41SStephan Aßmus public:
17b5e496b5SAxel Dörfler 								NotificationServer(status_t& error);
18de9dcd41SStephan Aßmus 	virtual						~NotificationServer();
19de9dcd41SStephan Aßmus 
204ec6c3a0SAdrien Destugues 	virtual	void				ReadyToRun();
21de9dcd41SStephan Aßmus 	virtual	void				MessageReceived(BMessage* message);
22de9dcd41SStephan Aßmus 
23de9dcd41SStephan Aßmus 	virtual	status_t			GetSupportedSuites(BMessage* msg);
24b5e496b5SAxel Dörfler 	virtual	BHandler*			ResolveSpecifier(BMessage* msg, int32 index,
25b5e496b5SAxel Dörfler 									BMessage* spec, int32 form,
26b5e496b5SAxel Dörfler 									const char* prop);
27de9dcd41SStephan Aßmus 
28de9dcd41SStephan Aßmus private:
29de9dcd41SStephan Aßmus 			NotificationWindow*	fWindow;
30de9dcd41SStephan Aßmus };
31de9dcd41SStephan Aßmus 
32b5e496b5SAxel Dörfler 
33de9dcd41SStephan Aßmus #endif	// _NOTIFICATION_SERVER_H
34