* 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.
+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.
+
2007-07-24 Richard Hughes <richard@hughsie.com>
* bus/.cvsignore:
*
*/
#include "activation.h"
+#include "activation-exit-codes.h"
#include "desktop-file.h"
#include "services.h"
#include "test.h"
#include <errno.h>
#endif
-#define DBUS_SERVICE_SECTION "D-BUS Service"
-#define DBUS_SERVICE_NAME "Name"
-#define DBUS_SERVICE_EXEC "Exec"
-
struct BusActivation
{
int refcount;
#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,