Data Structures | |
struct | _Entrance_User |
This contains all of the information we keep about users. More... | |
Typedefs | |
typedef struct _Entrance_User | Entrance_User |
Functions | |
Entrance_User * | entrance_user_new (char *user, char *icon, char *session) |
entrance_user_new - given a user, icon, and session, create a new Entrance_User instance. | |
void | entrance_user_auto_login_set (Entrance_User *e, int allow) |
entrance_user_auto_login_set : allow this user to auto login, currently not used | |
void | entrance_user_free (Entrance_User *e) |
entrance_user_free: free this Entrance_User | |
Evas_Object * | entrance_user_edje_get (Entrance_User *e, Evas_Object *edje, const char *file) |
entrance_user_edje_get : get the Evas_Object(edje||image) that is specified in config db. |
typedef struct _Entrance_User Entrance_User |
void entrance_user_auto_login_set | ( | Entrance_User * | e, | |
int | allow | |||
) |
entrance_user_auto_login_set : allow this user to auto login, currently not used
e | - the Entrance_User the request is for | |
allow | - true(1) to allow, false(0) to disallow |
References _Entrance_User::autologin.
Evas_Object* entrance_user_edje_get | ( | Entrance_User * | e, | |
Evas_Object * | edje, | |||
const char * | file | |||
) |
entrance_user_edje_get : get the Evas_Object(edje||image) that is specified in config db.
Their "entrance.user.avatar"
e | - the Entrance_User to get the edje for | |
edje | - a pointer to the main edje in entrance |
FIXME: perhaps go so far as to do Gecos type stuff
References _entrance_user_icon_load(), _Entrance_User::icon, _Entrance_User::name, user_selected_cb(), and user_unselected_cb().
Referenced by entrance_session_user_list_add(), and entrance_session_user_set().
void entrance_user_free | ( | Entrance_User * | e | ) |
entrance_user_free: free this Entrance_User
e | - the Entrance_User to free |
References _Entrance_User::icon, and _Entrance_User::name.
Referenced by _cb_users_free().
Entrance_User* entrance_user_new | ( | char * | user, | |
char * | icon, | |||
char * | session | |||
) |
entrance_user_new - given a user, icon, and session, create a new Entrance_User instance.
We don't copy the pointers here, simply use them, it allows for us to pass in NULL, and easily use ecore_config supplied data w/o having to free it.
user | - the user's user id on the system | |
icon | - the user's "face" icon, an edje or eet | |
session | - the key into the session hash that this user considers their "default" |
References _Entrance_User::icon, _Entrance_User::name, and _Entrance_User::session.
Referenced by _entrance_session_user_list_fix(), entrance_config_populate(), and entrance_session_user_set().