1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- |
---|
2 | * |
---|
3 | * Copyright (C) 2007 William Jon McCann <mccann@jhu.edu> |
---|
4 | * |
---|
5 | * This program is free software; you can redistribute it and/or modify |
---|
6 | * it under the terms of the GNU General Public License as published by |
---|
7 | * the Free Software Foundation; either version 2 of the License, or |
---|
8 | * (at your option) any later version. |
---|
9 | * |
---|
10 | * This program is distributed in the hope that it will be useful, |
---|
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
13 | * GNU General Public License for more details. |
---|
14 | * |
---|
15 | * You should have received a copy of the GNU General Public License |
---|
16 | * along with this program; if not, write to the Free Software |
---|
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
18 | * |
---|
19 | */ |
---|
20 | |
---|
21 | #ifndef __GDM_SESSION_PRIVATE_H |
---|
22 | #define __GDM_SESSION_PRIVATE_H |
---|
23 | |
---|
24 | #include <glib-object.h> |
---|
25 | #include "gdm-session.h" |
---|
26 | |
---|
27 | G_BEGIN_DECLS |
---|
28 | |
---|
29 | /* state changes */ |
---|
30 | void _gdm_session_opened (GdmSession *session); |
---|
31 | void _gdm_session_setup_complete (GdmSession *session); |
---|
32 | void _gdm_session_setup_failed (GdmSession *session, |
---|
33 | const char *message); |
---|
34 | void _gdm_session_reset_complete (GdmSession *session); |
---|
35 | void _gdm_session_reset_failed (GdmSession *session, |
---|
36 | const char *message); |
---|
37 | void _gdm_session_authenticated (GdmSession *session); |
---|
38 | void _gdm_session_authentication_failed (GdmSession *session, |
---|
39 | const char *text); |
---|
40 | void _gdm_session_authorized (GdmSession *session); |
---|
41 | void _gdm_session_authorization_failed (GdmSession *session, |
---|
42 | const char *text); |
---|
43 | void _gdm_session_accredited (GdmSession *session); |
---|
44 | void _gdm_session_accreditation_failed (GdmSession *session, |
---|
45 | const char *text); |
---|
46 | void _gdm_session_session_started (GdmSession *session, |
---|
47 | int pid); |
---|
48 | void _gdm_session_session_start_failed (GdmSession *session, |
---|
49 | const char *message); |
---|
50 | void _gdm_session_session_exited (GdmSession *session, |
---|
51 | int exit_code); |
---|
52 | void _gdm_session_session_died (GdmSession *session, |
---|
53 | int signal_number); |
---|
54 | void _gdm_session_closed (GdmSession *session); |
---|
55 | |
---|
56 | /* user settings read from ~/.dmrc / system defaults */ |
---|
57 | void _gdm_session_default_language_name_changed (GdmSession *session, |
---|
58 | const char *language_name); |
---|
59 | void _gdm_session_default_layout_name_changed (GdmSession *session, |
---|
60 | const char *layout_name); |
---|
61 | void _gdm_session_default_session_name_changed (GdmSession *session, |
---|
62 | const char *session_name); |
---|
63 | /* user is selected/changed internally */ |
---|
64 | void _gdm_session_selected_user_changed (GdmSession *session, |
---|
65 | const char *text); |
---|
66 | |
---|
67 | /* call and response stuff */ |
---|
68 | void _gdm_session_info_query (GdmSession *session, |
---|
69 | const char *text); |
---|
70 | void _gdm_session_secret_info_query (GdmSession *session, |
---|
71 | const char *text); |
---|
72 | void _gdm_session_info (GdmSession *session, |
---|
73 | const char *text); |
---|
74 | void _gdm_session_problem (GdmSession *session, |
---|
75 | const char *text); |
---|
76 | |
---|
77 | G_END_DECLS |
---|
78 | |
---|
79 | #endif /* __GDM_SESSION_PRIVATE_H */ |
---|