00001 /******************************************************************************* 00002 This file is part of mdictionary. 00003 00004 mdictionary is free software; you can redistribute it and/or modify 00005 it under the terms of the GNU General Public License as published by 00006 the Free Software Foundation; either version 2 of the License, or 00007 (at your option) any later version. 00008 00009 mdictionary is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 GNU General Public License for more details. 00013 00014 You should have received a copy of the GNU General Public License 00015 along with mdictionary; if not, write to the Free Software 00016 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00017 00018 Copyright 2006-2008 ComArch S.A. 00019 *******************************************************************************/ 00026 #ifndef _WS_MANAGER_GCONF_UTILS 00027 #define _WS_MANAGER_GCONF_UTILS 00028 00029 #include <gconf/gconf-client.h> 00030 #include <gconf/gconf.h> 00031 #include <ws_manager.h> 00032 00033 #ifdef __cplusplus 00034 extern "C" { 00035 #endif 00036 00040 00043 #define GCONF_KEY "/apps/maemo/mdictionary/dictionaries" 00044 00047 #define GCONF_LIB_PATH "/apps/maemo/mdictionary/engines" 00048 00051 GArray* ws_mng_read_gconf(); 00052 00055 GArray* ws_mng_get_engines_location(); 00056 00057 00060 gchar* ws_mng_get_boomark_location(); 00061 00062 00065 gboolean ws_mng_if_optimized(gchar* dict); 00066 00069 #ifdef __cplusplus 00070 } 00071 #endif 00072 #endif 00073