]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - liblightdm-gobject/lightdm/layout.h
f4369504fa87d221104c55965348771e522222d3
[sojka/lightdm.git] / liblightdm-gobject / lightdm / layout.h
1 /*
2  * Copyright (C) 2010 Robert Ancell.
3  * Author: Robert Ancell <robert.ancell@canonical.com>
4  *
5  * This library is free software; you can redistribute it and/or modify it under
6  * the terms of the GNU Lesser General Public License as published by the Free
7  * Software Foundation; either version 2 or version 3 of the License.
8  * See http://www.gnu.org/copyleft/lgpl.html the full text of the license.
9  */
10
11 #ifndef LIGHTDM_LAYOUT_H_
12 #define LIGHTDM_LAYOUT_H_
13
14 #include <glib-object.h>
15
16 G_BEGIN_DECLS
17
18 #define LIGHTDM_TYPE_LAYOUT (lightdm_layout_get_type())
19
20 G_DECLARE_FINAL_TYPE (LightDMLayout, lightdm_layout, LIGHTDM, LAYOUT, GObject)
21
22 struct _LightDMLayoutClass
23 {
24     /*< private >*/
25     GObjectClass parent_class;
26 };
27
28 GList *lightdm_get_layouts (void);
29
30 void lightdm_set_layout (LightDMLayout *layout);
31
32 LightDMLayout *lightdm_get_layout (void);
33
34 const gchar *lightdm_layout_get_name (LightDMLayout *layout);
35
36 const gchar *lightdm_layout_get_short_description (LightDMLayout *layout);
37
38 const gchar *lightdm_layout_get_description (LightDMLayout *layout);
39
40 G_END_DECLS
41
42 #endif /* LIGHTDM_LAYOUT_H_ */