]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - src/greeter-session.h
Releasing 1.19.5
[sojka/lightdm.git] / src / greeter-session.h
1 /*
2  * Copyright (C) 2010-2011 Robert Ancell.
3  * Author: Robert Ancell <robert.ancell@canonical.com>
4  *
5  * This program is free software: you can redistribute it and/or modify it under
6  * the terms of the GNU General Public License as published by the Free Software
7  * Foundation, either version 3 of the License, or (at your option) any later
8  * version. See http://www.gnu.org/copyleft/gpl.html the full text of the
9  * license.
10  */
11
12 #ifndef GREETER_SESSION_H_
13 #define GREETER_SESSION_H_
14
15 #include "session.h"
16 #include "greeter.h"
17
18 G_BEGIN_DECLS
19
20 #define GREETER_SESSION_TYPE           (greeter_session_get_type())
21 #define GREETER_SESSION(obj)           (G_TYPE_CHECK_INSTANCE_CAST ((obj), GREETER_SESSION_TYPE, GreeterSession))
22 #define GREETER_SESSION_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GREETER_SESSION_TYPE, GreeterSessionClass))
23 #define GREETER_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GREETER_SESSION_TYPE, GreeterSessionClass))
24 #define IS_GREETER_SESSION(obj)        (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GREETER_SESSION_TYPE))
25
26 typedef struct GreeterSessionPrivate GreeterSessionPrivate;
27
28 typedef struct
29 {
30     Session                parent_instance;
31     GreeterSessionPrivate *priv;
32 } GreeterSession;
33
34 typedef struct
35 {
36     SessionClass parent_class;
37 } GreeterSessionClass;
38
39 GType greeter_session_get_type (void);
40
41 GreeterSession *greeter_session_new (void);
42
43 Greeter *greeter_session_get_greeter (GreeterSession *session);
44
45 G_END_DECLS
46
47 #endif /* GREETER_SESSION_H_ */