From 3cb015b1ee509d69c643506e8ff573808c86dcfc Mon Sep 17 00:00:00 2001 From: DarkWyrm Date: Sat, 6 Jan 2007 02:27:52 +0000 Subject: [PATCH] Added the public header to allow apps to take advantage of the services daemon's app restart capabilities git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19717 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/be_apps/ServicesDaemon/ServicesDaemon.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 headers/os/be_apps/ServicesDaemon/ServicesDaemon.h diff --git a/headers/os/be_apps/ServicesDaemon/ServicesDaemon.h b/headers/os/be_apps/ServicesDaemon/ServicesDaemon.h new file mode 100644 index 0000000000..6d1c862515 --- /dev/null +++ b/headers/os/be_apps/ServicesDaemon/ServicesDaemon.h @@ -0,0 +1,12 @@ +#ifndef SERVICES_DAEMON_APP_H +#define SERVICES_DAEMON_APP_H + +#define B_SERVICES_DAEMON_SIGNATURE "application/x-vnd.Haiku-ServicesDaemon" + +// Send this message to the daemon if you would like to have your program +// restarted. The message is expected to have an attached string containing +// the signature of your app. Once sent to the daemon, it will wait until +// your app quits before relaunching it. +#define B_SERVICES_DAEMON_RESTART 'SDRS' + +#endif