diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-07-11 11:58:39 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-07-11 11:58:39 +0100 |
commit | 1b43dcb34eab345b4046258c478c02e536cf44d8 (patch) | |
tree | fa061ab29fa5809ffe08713c21ff78de5c9b1887 /src/users-service-dbus.h | |
parent | 4f535763d9e05e41c81b1a8fbf262aea1246f616 (diff) | |
parent | 331ab6a0abc53276af8da99ea141071bbb605820 (diff) | |
download | ayatana-indicator-session-1b43dcb34eab345b4046258c478c02e536cf44d8.tar.gz ayatana-indicator-session-1b43dcb34eab345b4046258c478c02e536cf44d8.tar.bz2 ayatana-indicator-session-1b43dcb34eab345b4046258c478c02e536cf44d8.zip |
merged trunk to keep up with changes
Diffstat (limited to 'src/users-service-dbus.h')
-rw-r--r-- | src/users-service-dbus.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/users-service-dbus.h b/src/users-service-dbus.h index 4798d64..c3f0171 100644 --- a/src/users-service-dbus.h +++ b/src/users-service-dbus.h @@ -42,9 +42,7 @@ struct _UserData gint64 uid; gchar *user_name; gchar *real_name; - gchar *shell; - gint login_count; - gchar *icon_url; + gchar *icon_file; GList *sessions; @@ -70,17 +68,16 @@ struct _UsersServiceDbusClass { GObjectClass parent_class; /* Signals */ - void (* users_loaded) (UsersServiceDbus *self, gpointer user_data); - - void (* user_added) (UsersServiceDbus *self, gint64 uid, gpointer user_data); - void (* user_removed) (UsersServiceDbus *self, gint64 uid, gpointer user_data); - void (* user_updated) (UsersServiceDbus *self, gint64 uid, gpointer user_data); + void (* user_added) (UsersServiceDbus *self, const gchar *user_id, gpointer user_data); + void (* user_deleted) (UsersServiceDbus *self, const gchar *user_id, gpointer user_data); }; GType users_service_dbus_get_type (void) G_GNUC_CONST; -gint users_service_dbus_get_user_count (UsersServiceDbus *self); +UserData *users_service_dbus_get_user_by_username (UsersServiceDbus *self, + const gchar *username); GList *users_service_dbus_get_user_list (UsersServiceDbus *self); +gboolean users_service_dbus_show_greeter (UsersServiceDbus *self); gboolean users_service_dbus_can_activate_session (UsersServiceDbus *self); gboolean users_service_dbus_activate_user_session (UsersServiceDbus *self, UserData *user); |