1 /* 2 * Copyright 2015-2016, 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_JOB = 'lnjo', 30 B_ENABLE_LAUNCH_JOB = 'lnje', 31 B_STOP_LAUNCH_JOB = 'lnsj', 32 B_LAUNCH_SESSION = 'lnse', 33 B_REGISTER_SESSION_DAEMON = 'lnrs', 34 B_REGISTER_LAUNCH_EVENT = 'lnre', 35 B_UNREGISTER_LAUNCH_EVENT = 'lnue', 36 B_NOTIFY_LAUNCH_EVENT = 'lnne', 37 B_RESET_STICKY_LAUNCH_EVENT = 'lnRe', 38 B_GET_LAUNCH_TARGETS = 'lngt', 39 B_GET_LAUNCH_JOBS = 'lngj', 40 B_GET_LAUNCH_TARGET_INFO = 'lntI', 41 B_GET_LAUNCH_JOB_INFO = 'lnjI', 42 }; 43 44 45 } // namespace BPrivate 46 47 48 #endif // LAUNCH_DAEMON_DEFS_H 49 50