00001 /* 00002 * This file is part of maemo-af-desktop 00003 * 00004 * Copyright (C) 2005 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 00030 #ifndef HILDON_NAVIGATOR_LIB_FUNCTIONS_H 00031 #define HILDON_NAVIGATOR_LIB_FUNCTIONS_H 00032 00033 #include <gtk/gtkwidget.h> 00034 00035 G_BEGIN_DECLS 00036 00042 /* hildon_navigator_lib_create 00043 * Called to initialise the plugin and the navigator button. 00044 * This is called when the plugin is first loaded. 00045 * 00046 * @returns a void* containing library specific data. This void* will be 00047 * passed into all subsequent functions calls on this library. 00048 */ 00049 void *hildon_navigator_lib_create(void); 00050 00061 void hildon_navigator_lib_destroy(void *data); 00062 00071 GtkWidget *hildon_navigator_lib_get_button_widget(void *data); 00072 00084 void hildon_navigator_lib_initialize_menu(void *data); 00085 00086 G_END_DECLS 00087 00088 #endif /* HILDON_NAVIGATOR_LIB_FUNCTIONS_H */