some little changes
[livewp] / applet / src / livewp-common.h
index bb12fe4..e45bafa 100644 (file)
@@ -40,7 +40,7 @@
 #define THEME_PATH "/usr/share/livewp/theme"
 #define SHORT_TIMER 75 /* 100 milisecond */
 //#define LONG_TIMER 5*60*1000 /* 10 minutes */
-#define LONG_TIMER  10*1000 /* 10 minutes */
+#define LONG_TIMER  20*1000 /* 10 minutes */
 enum { SHORT_TIMER_TYPE, LONG_TIMER_TYPE };
 #define SKY_LEVEL 0 
 #define SUN_LEVEL 0 
@@ -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
@@ -92,6 +95,13 @@ typedef struct {
     time_t time_start_animation;
     gint duration_animation;
     void (*func_probability)(gpointer);
+    GPtrArray *child;
 
 } 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