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 * 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 00029 #ifndef HILDON_NAVIGATOR_LIB_FUNCTIONS_H 00030 #define HILDON_NAVIGATOR_LIB_FUNCTIONS_H 00031 00032 #include <gtk/gtkwidget.h> 00033 00034 G_BEGIN_DECLS 00035 00041 /* hildon_navigator_lib_create 00042 * Called to initialise the plugin and the navigator button. 00043 * This is called when the plugin is first loaded. 00044 * 00045 * @returns a void* containing library specific data. This void* will be 00046 * passed into all subsequent functions calls on this library. 00047 */ 00048 void *hildon_navigator_lib_create(void); 00049 00060 void hildon_navigator_lib_destroy(void *data); 00061 00070 GtkWidget *hildon_navigator_lib_get_button_widget(void *data); 00071 00083 void hildon_navigator_lib_initialize_menu(void *data); 00084 00085 G_END_DECLS 00086 00087 #endif /* HILDON_NAVIGATOR_LIB_FUNCTIONS_H */