|
GnuCash 2.4.99
|
00001 /********************************************************************\ 00002 * gnc-gnome-utils.h -- utility functions for gnome for GnuCash * 00003 * Copyright (C) 2001 Linux Developers Group * 00004 * Copyright (C) 2003 David Hampton <hampton@employees.org> * 00005 * * 00006 * This program is free software; you can redistribute it and/or * 00007 * modify it under the terms of the GNU General Public License as * 00008 * published by the Free Software Foundation; either version 2 of * 00009 * the License, or (at your option) any later version. * 00010 * * 00011 * This program is distributed in the hope that it will be useful, * 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00014 * GNU General Public License for more details. * 00015 * * 00016 * You should have received a copy of the GNU General Public License* 00017 * along with this program; if not, contact: * 00018 * * 00019 * Free Software Foundation Voice: +1-617-542-5942 * 00020 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 * 00021 * Boston, MA 02110-1301, USA gnu@gnu.org * 00022 * * 00023 \********************************************************************/ 00024 00035 #ifndef GNC_GNOME_UTILS_H 00036 #define GNC_GNOME_UTILS_H 00037 00038 #include <gnc-main-window.h> 00039 00041 void gnc_gnome_init (int argc, char **argv, const char * version); 00042 00054 char *gnc_gnome_locate_pixmap (const char *name); 00055 00056 00068 char *gnc_gnome_locate_data_file (const char *name); 00069 00070 00082 char *gnc_gnome_locate_ui_file (const char *name); 00083 00095 void gnc_gnome_help (const char *file_name, 00096 const char *anchor); 00097 00098 00108 GtkWidget * gnc_gnome_get_pixmap (const char *name); 00109 00110 00120 GdkPixbuf * gnc_gnome_get_gdkpixbuf (const char *name); 00121 00122 00128 void gnc_shutdown (int exit_status); 00129 00130 GncMainWindow *gnc_gui_init (void); 00131 int gnc_ui_start_event_loop (void); 00132 gboolean gnucash_ui_is_running (void); 00133 00134 #endif 00135
1.7.4