aboutsummaryrefslogtreecommitdiff
path: root/src/users-service-dbus.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-07-07 10:53:49 -0500
committerTed Gould <ted@gould.cx>2011-07-07 10:53:49 -0500
commitc2f17c82ae4aee2cb3b584fcbeef15b0f36b2214 (patch)
tree40864efe02e1e4d7c548dcd49678b1fc52fc1524 /src/users-service-dbus.h
parent67a17a4d4d3d6380fe50c3cb6f33ccbb70707fd5 (diff)
parent5efc993ee40b4fb326a8b5bc9c1180eaef0a2469 (diff)
downloadayatana-indicator-session-c2f17c82ae4aee2cb3b584fcbeef15b0f36b2214.tar.gz
ayatana-indicator-session-c2f17c82ae4aee2cb3b584fcbeef15b0f36b2214.tar.bz2
ayatana-indicator-session-c2f17c82ae4aee2cb3b584fcbeef15b0f36b2214.zip
LightDM integration
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);