2
* Copyright (C) 2010 Canonical Ltd.
3
* Author: Robert Ancell <robert.ancell@canonical.com>
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
12
#ifndef _DISPLAY_MANAGER_H_
13
#define _DISPLAY_MANAGER_H_
15
#include <glib-object.h>
20
#define DISPLAY_MANAGER_TYPE (display_manager_get_type())
21
#define DISPLAY_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DISPLAY_MANAGER_TYPE, DisplayManager));
23
typedef struct DisplayManagerPrivate DisplayManagerPrivate;
27
GObject parent_instance;
28
DisplayManagerPrivate *priv;
33
GObjectClass parent_class;
34
} DisplayManagerClass;
36
GType display_manager_get_type (void);
38
DisplayManager *display_manager_new (void);
40
Display *display_manager_add_display (DisplayManager *manager);
44
#endif /* _DISPLAY_MANAGER_H_ */