~ubuntu-branches/ubuntu/maverick/gnome-session/maverick

« back to all changes in this revision

Viewing changes to gnome-session/gsm-client.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-04-08 09:47:57 UTC
  • mto: This revision was merged to the branch mainline in revision 110.
  • Revision ID: james.westby@ubuntu.com-20090408094757-rs8ialby8p72at4e
Tags: upstream-2.26.0svn20090408
ImportĀ upstreamĀ versionĀ 2.26.0svn20090408

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
} GsmClientRestartStyle;
56
56
 
57
57
typedef enum {
58
 
        GSM_CLIENT_END_SESSION_FLAG_FORCEFUL = 1 << 0
 
58
        GSM_CLIENT_END_SESSION_FLAG_FORCEFUL = 1 << 0,
 
59
        GSM_CLIENT_END_SESSION_FLAG_SAVE     = 1 << 1,
 
60
        GSM_CLIENT_END_SESSION_FLAG_LAST     = 1 << 2
59
61
} GsmClientEndSessionFlag;
60
62
 
61
63
struct _GsmClient
72
74
        void         (*disconnected)               (GsmClient  *client);
73
75
        void         (*end_session_response)       (GsmClient  *client,
74
76
                                                    gboolean    ok,
 
77
                                                    gboolean    do_last,
 
78
                                                    gboolean    cancel,
75
79
                                                    const char *reason);
76
80
 
77
81
        /* virtual methods */
156
160
 
157
161
/* private */
158
162
 
159
 
void                  gdm_client_end_session_response       (GsmClient  *client,
 
163
void                  gsm_client_end_session_response       (GsmClient  *client,
160
164
                                                             gboolean    is_ok,
 
165
                                                             gboolean    do_last,
 
166
                                                             gboolean    cancel,
161
167
                                                             const char *reason);
162
168
 
163
169
G_END_DECLS