]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - src/display-manager.h
Compiles and does something
[sojka/lightdm.git] / src / display-manager.h
1 /*
2  * Copyright (C) 2010 Canonical Ltd.
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 _DISPLAY_MANAGER_H_
13 #define _DISPLAY_MANAGER_H_
14
15 #include <glib-object.h>
16 #include "display.h"
17
18 G_BEGIN_DECLS
19
20 #define DISPLAY_MANAGER_TYPE (display_manager_get_type())
21 #define DISPLAY_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DISPLAY_MANAGER_TYPE, DisplayManager));
22
23 typedef struct DisplayManagerPrivate DisplayManagerPrivate;
24
25 typedef struct
26 {
27     GObject         parent_instance;
28     DisplayManagerPrivate *priv;
29 } DisplayManager;
30
31 typedef struct
32 {
33     GObjectClass parent_class;  
34 } DisplayManagerClass;
35
36 GType display_manager_get_type (void);
37
38 DisplayManager *display_manager_new (void);
39
40 Display *display_manager_add_display (DisplayManager *manager);
41
42 G_END_DECLS
43
44 #endif /* _DISPLAY_MANAGER_H_ */