xref: /haiku/headers/private/app/LaunchDaemonDefs.h (revision ca8ed5ea660fb6275799a3b7f138b201c41a667b)
1 /*
2  * Copyright 2015, Haiku, Inc. All Rights Reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Axel Dörfler, axeld@pinc-software.de
7  */
8 #ifndef LAUNCH_DAEMON_DEFS_H
9 #define LAUNCH_DAEMON_DEFS_H
10 
11 
12 //!	launch_daemon interface
13 
14 
15 #include <Errors.h>
16 #include <Roster.h>
17 
18 
19 namespace BPrivate {
20 
21 #define kLaunchDaemonSignature "application/x-vnd.Haiku-launch_daemon"
22 #define B_LAUNCH_DAEMON_PORT_NAME "system:launch_daemon"
23 
24 
25 // Message constants
26 enum {
27 	B_GET_LAUNCH_DATA			= 'lnda',
28 	B_LAUNCH_TARGET				= 'lntg',
29 	B_LAUNCH_SESSION			= 'lnse',
30 	B_REGISTER_SESSION_DAEMON	= 'lnrs',
31 	B_REGISTER_LAUNCH_EVENT		= 'lnre',
32 	B_UNREGISTER_LAUNCH_EVENT	= 'lnue',
33 	B_NOTIFY_LAUNCH_EVENT		= 'lnne',
34 };
35 
36 
37 }	// namespace BPrivate
38 
39 
40 #endif	// LAUNCH_DAEMON_DEFS_H
41 
42