|
GnuCash 2.4.99
|
00001 /* 00002 * gnc-main.h: 00003 * 00004 * Copyright (C) 2006 Chris Shoemaker <c.shoemaker@cox.net> 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 #ifndef GNC_MAIN_H 00025 #define GNC_MAIN_H 00026 00027 #include <glib.h> 00028 00029 #define GCONF_PATH "/apps/gnucash" 00030 00031 void gnc_main_set_namespace_regexp(const gchar *str); 00032 const gchar *gnc_main_get_namespace_regexp(void); 00033 00034 gboolean gnc_is_debugging(void); 00035 void gnc_set_debugging(gboolean d); 00036 00037 gboolean gnc_is_extra_enabled(void); 00038 void gnc_set_extra(gboolean enabled); 00039 00040 void gnc_set_gconf_path(const gchar *prefix); 00041 const gchar *gnc_get_gconf_path(void); 00042 00043 guint gnc_get_long_version( void ); 00044 00045 gint gnc_get_svn_version(void); 00046 00047 #endif /* GNC_MAIN_H */
1.7.4