| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 #ifndef LOGIN_MANAGER_INTERFACE_H_ | 4 #ifndef LOGIN_MANAGER_INTERFACE_H_ |
| 5 #define LOGIN_MANAGER_INTERFACE_H_ | 5 #define LOGIN_MANAGER_INTERFACE_H_ |
| 6 | 6 |
| 7 #include <dbus/dbus-glib.h> | 7 #include <dbus/dbus-glib.h> |
| 8 #include <dbus/dbus-glib-bindings.h> | 8 #include <dbus/dbus-glib-bindings.h> |
| 9 #include <glib-object.h> | 9 #include <glib-object.h> |
| 10 #include <stdlib.h> | 10 #include <stdlib.h> |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 gboolean session_manager_store_property(SessionManager *self, | 73 gboolean session_manager_store_property(SessionManager *self, |
| 74 gchar *name, | 74 gchar *name, |
| 75 gchar *value, | 75 gchar *value, |
| 76 GArray *signature, | 76 GArray *signature, |
| 77 GError **error); | 77 GError **error); |
| 78 gboolean session_manager_retrieve_property(SessionManager *self, | 78 gboolean session_manager_retrieve_property(SessionManager *self, |
| 79 gchar *name, | 79 gchar *name, |
| 80 gchar **OUT_value, | 80 gchar **OUT_value, |
| 81 GArray **OUT_signature, | 81 GArray **OUT_signature, |
| 82 GError **error); | 82 GError **error); |
| 83 gboolean session_manager_store_policy(SessionManager *self, |
| 84 gchar *policy_blob, |
| 85 GArray *signature, |
| 86 GError **error); |
| 87 gboolean session_manager_retrieve_policy(SessionManager *self, |
| 88 gchar **OUT_policy_blob, |
| 89 GArray **OUT_signature, |
| 90 GError **error); |
| 83 | 91 |
| 84 gboolean session_manager_unlock_screen(SessionManager *self, | 92 gboolean session_manager_unlock_screen(SessionManager *self, |
| 85 GError **error); | 93 GError **error); |
| 86 gboolean session_manager_lock_screen(SessionManager *self, | 94 gboolean session_manager_lock_screen(SessionManager *self, |
| 87 GError **error); | 95 GError **error); |
| 88 gboolean session_manager_restart_job(SessionManager *self, | 96 gboolean session_manager_restart_job(SessionManager *self, |
| 89 gint pid, | 97 gint pid, |
| 90 gchar *arguments, | 98 gchar *arguments, |
| 91 gboolean *OUT_done, | 99 gboolean *OUT_done, |
| 92 GError **error); | 100 GError **error); |
| 93 gboolean session_manager_restart_entd(SessionManager* self, | 101 gboolean session_manager_restart_entd(SessionManager* self, |
| 94 GError** error); | 102 GError** error); |
| 95 } // namespace gobject | 103 } // namespace gobject |
| 96 } // namespace login_manager | 104 } // namespace login_manager |
| 97 #endif // LOGIN_MANAGER_INTERFACE_H_ | 105 #endif // LOGIN_MANAGER_INTERFACE_H_ |
| OLD | NEW |