From: mishas Date: Fri, 21 Sep 2007 08:07:31 +0000 (+0000) Subject: copied interface definition from hildon-home-plugin-interface (new hildon does not... X-Git-Url: http://git.maemo.org/git/?p=simple-launcher;a=commitdiff_plain;h=85fc072bca10befc7db4fa8f0d805068de3f88ea copied interface definition from hildon-home-plugin-interface (new hildon does not have it) git-svn-id: file:///svnroot/simple-launcher/trunk@232 3ba93dab-e023-0410-b42a-de7732cf370a --- diff --git a/simple-launcher.cc b/simple-launcher.cc index 1b35150..3218fc7 100644 --- a/simple-launcher.cc +++ b/simple-launcher.cc @@ -23,7 +23,6 @@ #include -#include #include #include "launcher-item.h" @@ -36,6 +35,21 @@ #define SL_APPLET_GCONF_PATH "/apps/simple-launcher" +// A copy of interface functions from hildon-home-plugin-interface (new hildon desktop does not have it) {{{ + +extern "C" { + + void *hildon_home_applet_lib_initialize(void *state_data, int *state_size, GtkWidget **widget); + int hildon_home_applet_lib_save_state(void *applet_data, void **state_data, int *state_size); + void hildon_home_applet_lib_background(void *applet_data); + void hildon_home_applet_lib_foreground(void *applet_data); + void hildon_home_applet_lib_deinitialize(void *applet_data); + GtkWidget *hildon_home_applet_lib_settings(void *applet_data, GtkWindow *parent); + +}; + +// }}} + class SimpleLauncherApplet { public: SimpleLauncherApplet(const GConfKey&);