summaryrefslogtreecommitdiff
path: root/bus/desktop-file.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2007-07-24 12:14:51 +0000
committerRichard Hughes <richard@hughsie.com>2007-07-24 12:14:51 +0000
commit74e1b986192d817c5c84a0e71c70fb0cb0378cc6 (patch)
treeb6bc89ffea9a3c178a58bccbef2e2a29c259006b /bus/desktop-file.h
parent0a63547d0eda83fb90c7a4bc0cfe475880e8dc4a (diff)
downloaddbus-74e1b986192d817c5c84a0e71c70fb0cb0378cc6.tar.gz
2007-07-24 Richard Hughes <richard@hughsie.com>
* bus/activation.c: * bus/desktop-file.h: Move the defines into the header file, as we use these in the lauch helper as well as the desktop file parsing.
Diffstat (limited to 'bus/desktop-file.h')
-rw-r--r--bus/desktop-file.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/bus/desktop-file.h b/bus/desktop-file.h
index e4b9a6d2..549f89a4 100644
--- a/bus/desktop-file.h
+++ b/bus/desktop-file.h
@@ -30,6 +30,12 @@
#define BUS_DESKTOP_PARSE_ERROR_INVALID_ESCAPES "org.freedesktop.DBus.DesktopParseError.InvalidEscapes"
#define BUS_DESKTOP_PARSE_ERROR_INVALID_CHARS "org.freedesktop.DBus.DesktopParseError.InvalidChars"
+#define DBUS_SERVICE_SECTION "D-BUS Service"
+#define DBUS_SERVICE_NAME "Name"
+#define DBUS_SERVICE_EXEC "Exec"
+#define DBUS_SERVICE_USER "User"
+#define DBUS_SERVICE_GROUP "Group"
+
typedef struct BusDesktopFile BusDesktopFile;
BusDesktopFile *bus_desktop_file_load (DBusString *filename,