/* GConf2 input/output handling for GTimeTracker - a time tracker * Copyright (C) 2003 Linas Vepstas * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef GTT_GCONF_IO_H_ #define GTT_GCONF_IO_H_ #include /** * The gtt_gconf_save() routine will save all of the GTT attributes * into the Gnome2 Gconf attribute system. */ void gtt_gconf_save (void); /** * The gtt_gconf_load() routine will fetch all of the GTT attributes * from the Gnome2 Gconf attribute system. */ void gtt_gconf_load (void); /** * The gtt_gconf_exists() routine returns TRUE if the Gnome2 GConf system * is being used. Typically, this routine will return FALSE only once, * the very first time this version of GTT is run. This gives the code * a chance to pull attributes out of the older gnome_config system. */ gboolean gtt_gconf_exists (void); /** * The gtt_save_reports_menu() routine saves only the reports menu * attributes to the gconf system. */ void gtt_save_reports_menu (void); /* quick hack */ const char *gtt_gconf_get_expander (void); #endif /* GTT_GCONF_IO_H_ */