aboutsummaryrefslogtreecommitdiff
path: root/src/users-service-dbus.h
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2011-07-05 16:10:58 +1000
committerRobert Ancell <robert.ancell@canonical.com>2011-07-05 16:10:58 +1000
commit5efc993ee40b4fb326a8b5bc9c1180eaef0a2469 (patch)
tree3331291ef8d9918a41d856ec8178f42d9912a171 /src/users-service-dbus.h
parente94209be9883443c69b2e50d4f98f08847ead1a5 (diff)
downloadayatana-indicator-session-5efc993ee40b4fb326a8b5bc9c1180eaef0a2469.tar.gz
ayatana-indicator-session-5efc993ee40b4fb326a8b5bc9c1180eaef0a2469.tar.bz2
ayatana-indicator-session-5efc993ee40b4fb326a8b5bc9c1180eaef0a2469.zip
Integrate with LightDM
Diffstat (limited to 'src/users-service-dbus.h')
-rw-r--r--src/users-service-dbus.h15
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);