]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - src/mir-session.h
Merge with trunk
[sojka/lightdm.git] / src / mir-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 MIR_SESSION_H_
13 #define MIR_SESSION_H_
14
15 #include "session.h"
16
17 G_BEGIN_DECLS
18
19 #define MIR_SESSION_TYPE (mir_session_get_type())
20 #define MIR_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIR_SESSION_TYPE, MirSession))
21
22 typedef struct MirSessionPrivate MirSessionPrivate;
23
24 typedef struct
25 {
26     Session            parent_instance;
27     MirSessionPrivate *priv;
28 } MirSession;
29
30 typedef struct
31 {
32     SessionClass parent_class;
33 } MirSessionClass;
34
35 GType mir_session_get_type (void);
36
37 MirSession *mir_session_new (void);
38
39 G_END_DECLS
40
41 #endif /* MIR_SESSION_H_ */