Merge lp:~attente/indicator-keyboard/add-accountsservice-vapi into lp:indicator-keyboard

Proposed by William Hua
Status: Merged
Approved by: Mathieu Trudel-Lapierre
Approved revision: 179
Merged at revision: 179
Proposed branch: lp:~attente/indicator-keyboard/add-accountsservice-vapi
Merge into: lp:indicator-keyboard
Diff against target: 155 lines (+151/-0)
1 file modified
deps/accountsservice.vapi (+151/-0)
To merge this branch: bzr merge lp:~attente/indicator-keyboard/add-accountsservice-vapi
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Mathieu Trudel-Lapierre Approve
Review via email: mp+195847@code.launchpad.net

Commit message

Add accountsservice.vapi (accountsservice no long ships it).

Description of the change

Add accountsservice.vapi (accountsservice no long ships it).

To post a comment you must log in.
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Approve.

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'deps/accountsservice.vapi'
2--- deps/accountsservice.vapi 1970-01-01 00:00:00 +0000
3+++ deps/accountsservice.vapi 2013-11-19 19:13:46 +0000
4@@ -0,0 +1,151 @@
5+/* accountsservice.vapi generated by vapigen, do not modify. */
6+
7+[CCode (cprefix = "Act", gir_namespace = "AccountsService", gir_version = "1.0", lower_case_cprefix = "act_")]
8+namespace Act {
9+ [CCode (cheader_filename = "act/act.h", type_id = "act_user_get_type ()")]
10+ public class User : GLib.Object {
11+ [CCode (has_construct_function = false)]
12+ protected User ();
13+ public int collate (Act.User user2);
14+ public Act.UserAccountType get_account_type ();
15+ public bool get_automatic_login ();
16+ public unowned string get_email ();
17+ public unowned string get_formats_locale ();
18+ public unowned string get_home_dir ();
19+ public unowned string get_icon_file ();
20+ public unowned GLib.Variant get_input_sources ();
21+ public unowned string get_language ();
22+ public unowned string get_location ();
23+ public bool get_locked ();
24+ public int get_login_frequency ();
25+ public unowned GLib.Variant get_login_history ();
26+ public int64 get_login_time ();
27+ public uint get_num_sessions ();
28+ public uint get_num_sessions_anywhere ();
29+ public unowned string get_object_path ();
30+ public unowned string get_password_hint ();
31+ public Act.UserPasswordMode get_password_mode ();
32+ public unowned string get_primary_session_id ();
33+ public unowned string get_real_name ();
34+ public unowned string get_shell ();
35+ public uint get_uid ();
36+ public unowned string get_user_name ();
37+ public unowned string get_x_session ();
38+ public bool is_local_account ();
39+ public bool is_logged_in ();
40+ public bool is_logged_in_anywhere ();
41+ public bool is_nonexistent ();
42+ public bool is_system_account ();
43+ public void set_account_type (Act.UserAccountType account_type);
44+ public void set_automatic_login (bool enabled);
45+ public void set_email (string email);
46+ public void set_formats_locale (string formats_locale);
47+ public void set_icon_file (string icon_file);
48+ public void set_input_sources (GLib.Variant sources);
49+ public void set_language (string language);
50+ public void set_location (string location);
51+ public void set_locked (bool locked);
52+ public void set_multiple_passwords (GLib.HashTable<uint,string> password_map);
53+ public void set_password (string password, string hint);
54+ public void set_password_mode (Act.UserPasswordMode password_mode);
55+ public void set_real_name (string real_name);
56+ public void set_user_name (string user_name);
57+ public void set_x_session (string x_session);
58+ public int account_type { get; }
59+ public bool automatic_login { get; }
60+ [NoAccessorMethod]
61+ public string background_file { owned get; }
62+ public string email { get; }
63+ public string formats_locale { get; }
64+ [NoAccessorMethod]
65+ public string home_directory { owned get; }
66+ public string icon_file { get; }
67+ public GLib.Variant input_sources { get; }
68+ [NoAccessorMethod]
69+ public bool is_loaded { get; }
70+ public string language { get; }
71+ [NoAccessorMethod]
72+ public bool local_account { get; }
73+ public string location { get; }
74+ public bool locked { get; }
75+ public int login_frequency { get; }
76+ public GLib.Variant login_history { get; }
77+ public int64 login_time { get; }
78+ [NoAccessorMethod]
79+ public bool nonexistent { get; }
80+ public string password_hint { get; }
81+ public int password_mode { get; }
82+ public string real_name { get; }
83+ public string shell { get; }
84+ [NoAccessorMethod]
85+ public bool system_account { get; }
86+ public int uid { get; }
87+ public string user_name { get; }
88+ public string x_session { get; }
89+ [NoAccessorMethod]
90+ public bool xhas_messages { get; }
91+ [CCode (array_length = false, array_null_terminated = true)]
92+ [NoAccessorMethod]
93+ public string[] xkeyboard_layouts { owned get; }
94+ public signal void changed ();
95+ public signal void sessions_changed ();
96+ }
97+ [CCode (cheader_filename = "act/act.h", type_id = "act_user_manager_get_type ()")]
98+ public class UserManager : GLib.Object {
99+ [CCode (has_construct_function = false)]
100+ protected UserManager ();
101+ public bool activate_user_session (Act.User user);
102+ public Act.User cache_user (string username) throws GLib.Error;
103+ public async Act.User cache_user_async (string username, GLib.Cancellable? cancellable) throws GLib.Error;
104+ public bool can_switch ();
105+ public Act.User create_user (string username, string fullname, Act.UserAccountType accounttype) throws GLib.Error;
106+ public async Act.User create_user_async (string username, string fullname, Act.UserAccountType accounttype, GLib.Cancellable? cancellable) throws GLib.Error;
107+ public bool delete_user (Act.User user, bool remove_files) throws GLib.Error;
108+ public async bool delete_user_async (Act.User user, bool remove_files, GLib.Cancellable? cancellable) throws GLib.Error;
109+ public static unowned Act.UserManager get_default ();
110+ public unowned Act.User get_user (string username);
111+ public unowned Act.User get_user_by_id (uint id);
112+ public bool goto_login_session ();
113+ public GLib.SList<weak Act.User> list_users ();
114+ public bool no_service ();
115+ public bool uncache_user (string username) throws GLib.Error;
116+ [NoAccessorMethod]
117+ public void* exclude_usernames_list { get; set; }
118+ [NoAccessorMethod]
119+ public bool has_multiple_users { get; }
120+ [NoAccessorMethod]
121+ public void* include_usernames_list { get; set; }
122+ [NoAccessorMethod]
123+ public bool is_loaded { get; }
124+ public virtual signal void user_added (Act.User user);
125+ public virtual signal void user_changed (Act.User user);
126+ public virtual signal void user_is_logged_in_changed (Act.User user);
127+ public virtual signal void user_removed (Act.User user);
128+ }
129+ [CCode (cheader_filename = "act/act.h", cprefix = "ACT_USER_ACCOUNT_TYPE_", type_id = "act_user_account_type_get_type ()")]
130+ public enum UserAccountType {
131+ STANDARD,
132+ ADMINISTRATOR
133+ }
134+ [CCode (cheader_filename = "act/act.h", cprefix = "ACT_USER_PASSWORD_MODE_", type_id = "act_user_password_mode_get_type ()")]
135+ public enum UserPasswordMode {
136+ REGULAR,
137+ SET_AT_LOGIN,
138+ NONE
139+ }
140+ [CCode (cheader_filename = "act/act.h", cprefix = "ACT_USER_PASSWORD_", type_id = "act_user_password_type_get_type ()")]
141+ public enum UserPasswordType {
142+ REGULAR,
143+ HINT,
144+ PIN
145+ }
146+ [CCode (cheader_filename = "act/act.h", cprefix = "ACT_USER_MANAGER_ERROR_")]
147+ public errordomain UserManagerError {
148+ FAILED,
149+ USER_EXISTS,
150+ USER_DOES_NOT_EXIST,
151+ PERMISSION_DENIED,
152+ NOT_SUPPORTED;
153+ public static GLib.Quark quark ();
154+ }
155+}

Subscribers

People subscribed via source and target branches

to all changes: