00001 /* 00002 * This file is part of maemo-af-desktop 00003 * 00004 * Copyright (C) 2006 Nokia Corporation. 00005 * 00006 * Contact: Karoliina Salminen <karoliina.t.salminen@nokia.com> 00007 * 00008 * This library is free software; you can redistribute it and/or 00009 * modify it under the terms of the GNU Lesser General Public License 00010 * version 2.1 as published by the Free Software Foundation. 00011 * 00012 * This library is distributed in the hope that it will be useful, but 00013 * WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 * Lesser General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Lesser General Public 00018 * License along with this library; if not, write to the Free Software 00019 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 00020 * 02110-1301 USA 00021 * 00022 */ 00023 00033 #ifndef HILDON_HOME_APPLET_API_H 00034 #define HILDON_HOME_APPLET_API_H 00035 00036 #include <gtk/gtk.h> 00037 #include <gtk/gtkwidget.h> 00038 00039 00040 G_BEGIN_DECLS 00041 00058 void *hildon_home_applet_lib_initialize(void *state_data, 00059 int *state_size, 00060 GtkWidget **widget); 00061 00077 int hildon_home_applet_lib_save_state(void *applet_data, 00078 void **state_data, int *state_size); 00079 00086 void hildon_home_applet_lib_background(void *applet_data); 00087 00094 void hildon_home_applet_lib_foreground(void *applet_data); 00095 00096 00103 void hildon_home_applet_lib_deinitialize(void *applet_data); 00104 00105 00106 00112 GtkWidget *hildon_home_applet_lib_settings(void *applet_data, 00113 GtkWindow *parent); 00114 00115 00116 00117 00118 G_END_DECLS 00119 #endif /* HILDON_HOME_APPLET_API_H */