LaunchRoster.h revision 1480e5da
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
12class BLaunchRoster {
13public:
14								BLaunchRoster();
15								~BLaunchRoster();
16
17			status_t			InitCheck() const;
18
19			status_t			GetData(const char* signature, BMessage& data);
20
21private:
22			void				_InitMessenger();
23
24private:
25			BMessenger			fMessenger;
26			uint32				_reserved[5];
27};
28
29// global BLaunchRoster instance
30extern const BLaunchRoster* be_launch_roster;
31
32
33#endif	// _LAUNCH_ROSTER_H
34