begun dbus
[livewp] / applet / src / livewp-common.h
index bb12fe4..4fe6bc7 100644 (file)
@@ -62,6 +62,9 @@ struct _Animation_WallpaperPrivate
     GtkWidget *main_widget;
     GtkWidget *right_corner;
     AWallpaperPlugin *desktop_plugin;
+    DBusConnection      *dbus_conn;
+    DBusConnection      *dbus_conn_session;
+    osso_context_t      *osso;
 };
 
 struct _AWallpaperPlugin
@@ -94,4 +97,10 @@ typedef struct {
     void (*func_probability)(gpointer);
 
 } Actor;
+#define LIVEWP_SIGNAL_INTERFACE "org.maemo.livewp"
+#define LIVEWP_SIGNAL_PATH "/org/maemo/livewp"
+#define LIVEWP_SIGNAL_RELOAD_CONFIG_INTERFACE "org.maemo.livewp.reload_config"
+#define LIVEWP_SIGNAL_RELOAD_CONFIG_PATH "/org/maemo/livewp/reload_config"
+#define LIVEWP_RELOAD_CONFIG "reload_config"
+#define LIVEWP_RELOAD_PLUGIN "reload_plugin"
 #endif