00001 /* 00002 * This file is part of pcshareMgr. 00003 * 00004 * pcshareMgr 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 * pcshareMgr 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 this program. If not, see <http://www.gnu.org/licenses/>. 00016 */ 00017 00026 /* downloadMgr - A GTK based download manager application on the eReader platform 00027 * Copyright (C) 2007 iRex Technologies BV. 00028 * 00029 */ 00030 #ifndef __SETTINGS__H__ 00031 #define __SETTINGS__H__ 00032 00033 #define SHARE_MOUNT_POINT "/mnt/share" 00034 #define CONFIG_FILE "er_ctrl.xml" 00035 #define OVERWRITE_STRING_LEN 32 00036 00037 #define OVERWRITE_SETTING_XPATH "/ereaderControl/pcShare/download/overwriteItems" 00038 00039 typedef struct 00040 { 00041 gboolean overwrite; 00042 }pcShareCfg_t; 00043 00044 #ifdef __cplusplus 00045 extern "C" 00046 { 00047 #endif /* __cplusplus */ 00048 00049 pcShareCfg_t* get_pc_share_settings(); 00050 void free_pc_share_settings(pcShareCfg_t* thePCShareSettings); 00051 00052 #ifdef __cplusplus 00053 } 00054 #endif /* __cplusplus */ 00055 00056 #endif //__SETTINGS__H__
1.5.6