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