00001 /* 00002 * This file is part of libosso-help 00003 * 00004 * Copyright (C) 2006 Nokia Corporation. All rights reserved. 00005 * 00006 * Contact: Jakub Pavelek <jakub.pavelek@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 */ 00026 #ifndef OSSO_HELPLIB_H 00027 #define OSSO_HELPLIB_H 00028 00029 #include <libosso.h> 00030 #include <gtk/gtkdialog.h> 00031 00032 #ifdef __cplusplus 00033 extern "C" { 00034 #endif 00035 00036 /*--- Public interface (for any applications) ---*/ 00037 00038 enum { 00039 OSSO_HELP_SHOW_DIALOG= 0x01, 00040 OSSO_HELP_SHOW_JUSTASK= 0x02, 00041 }; 00042 00070 osso_return_t ossohelp_show( osso_context_t *osso, 00071 const gchar *topic_id, 00072 guint flags ); 00073 00096 gboolean ossohelp_dialog_help_enable( GtkDialog *dialog, 00097 const gchar *topic, 00098 osso_context_t *osso ); 00099 00100 #ifdef __cplusplus 00101 } 00102 #endif 00103 00104 #endif /* OSSO_HELPLIB_H */ 00105