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 * as published by the Free Software Foundation; either version 2.1 of 00011 * the License, or (at your option) any later version. 00012 * 00013 * This library is distributed in the hope that it will be useful, but 00014 * WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 * Lesser General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU Lesser General Public 00019 * License along with this library; if not, write to the Free Software 00020 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 00021 * 02110-1301 USA 00022 * 00023 */ 00024 00034 #ifndef HILDON_HOME_APPLET_API_H 00035 #define HILDON_HOME_APPLET_API_H 00036 00037 #include <gtk/gtk.h> 00038 #include <gtk/gtkwidget.h> 00039 00040 00041 G_BEGIN_DECLS 00042 00059 void *hildon_home_applet_lib_initialize(void *state_data, 00060 int *state_size, 00061 GtkWidget **widget); 00062 00078 int hildon_home_applet_lib_save_state(void *applet_data, 00079 void **state_data, int *state_size); 00080 00087 void hildon_home_applet_lib_background(void *applet_data); 00088 00095 void hildon_home_applet_lib_foreground(void *applet_data); 00096 00097 00104 void hildon_home_applet_lib_deinitialize(void *applet_data); 00105 00106 00107 00113 GtkWidget *hildon_home_applet_lib_settings(void *applet_data, 00114 GtkWindow *parent); 00115 00116 00117 00118 00119 G_END_DECLS 00120 #endif /* HILDON_HOME_APPLET_API_H */