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_USER_DATA_H_ 00032 #define _ILIAD_USER_DATA_H_ 00033 00034 00035 // init the eReader user-profile data, given the already 00036 // in memory loaded registry data 00037 void iLiad_user_data_init(void); 00038 00039 void iLiad_user_data_destroy(void); 00040 void iLiad_user_data_display(void); 00041 00042 00043 //callback routines from the GTK widgets associated with the user-profile data 00044 void on_user_name_changed(GtkWidget* item, const gchar* text); 00045 void on_user_email_changed(GtkWidget* item, const gchar* text); 00046 void on_user_password_changed(GtkWidget* item, const gchar* text); 00047 00048 00049 //store the user-profile 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_user_data_store(void); 00053 00054 regUserProfile_t* get_user_profile_ptr(); 00055 00056 #endif
1.5.6