xref: /haiku/headers/private/app/LaunchRoster.h (revision 035e3e77ed4550c9e9e5d932d02125be0d80d04c)
1 /*
2  * Copyright 2015 Haiku, Inc. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _LAUNCH_ROSTER_H
6 #define _LAUNCH_ROSTER_H
7 
8 
9 #include <Messenger.h>
10 
11 
12 class BLaunchRoster {
13 public:
14 								BLaunchRoster();
15 								~BLaunchRoster();
16 
17 			status_t			InitCheck() const;
18 
19 			status_t			GetData(const char* signature, BMessage& data);
20 
21 private:
22 			void				_InitMessenger();
23 
24 private:
25 			BMessenger			fMessenger;
26 			uint32				_reserved[5];
27 };
28 
29 // global BLaunchRoster instance
30 extern const BLaunchRoster* be_launch_roster;
31 
32 
33 #endif	// _LAUNCH_ROSTER_H
34