00001 /* 00002 * This file is part of settings. 00003 * 00004 * settings 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 * settings 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 00029 #include <liberregxml/erregapi.h> 00030 00031 #ifndef _ILIAD_AUTOCONNECT_DATA_H_ 00032 #define _ILIAD_AUTOCONNECT_DATA_H_ 00033 00034 00035 // init the eReader autconnect data, 00036 // given the already in memory loaded registry data 00037 void iLiad_autoconnect_data_init(void); 00038 00039 void iLiad_autoconnect_data_destroy(void); 00040 void iLiad_autoconnect_data_display(void); 00041 00042 00043 //callback routines from the GTK widgets 00044 void iLiad_ac_wlan_onoff_changed(gboolean enable); 00045 void iLiad_ac_background_onoff_changed(gboolean enable); 00046 void iLiad_ac_background_idspc_changed(gint connect_to); 00047 void iLiad_ac_background_interval_changed(gboolean interval); 00048 00049 // store the autoconnect information in the registry 00050 // reload registry data from er_registry.txt, handle lock, update data and 00051 // store updated config registry data in er_registry.txt 00052 void iLiad_autoconnect_data_store(void); 00053 00054 regAutoConnect_t* iLiad_ac_data_get(void); 00055 00056 #endif 00057 00058 00059
1.5.6