2 * Copyright (C) 2010 Robert Ancell.
3 * Author: Robert Ancell <robert.ancell@canonical.com>
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.
11 #ifndef LIGHTDM_LAYOUT_H_
12 #define LIGHTDM_LAYOUT_H_
14 #include <glib-object.h>
18 #define LIGHTDM_TYPE_LAYOUT (lightdm_layout_get_type())
20 G_DECLARE_FINAL_TYPE (LightDMLayout, lightdm_layout, LIGHTDM, LAYOUT, GObject)
22 struct _LightDMLayoutClass
25 GObjectClass parent_class;
28 GList *lightdm_get_layouts (void);
30 void lightdm_set_layout (LightDMLayout *layout);
32 LightDMLayout *lightdm_get_layout (void);
34 const gchar *lightdm_layout_get_name (LightDMLayout *layout);
36 const gchar *lightdm_layout_get_short_description (LightDMLayout *layout);
38 const gchar *lightdm_layout_get_description (LightDMLayout *layout);
42 #endif /* LIGHTDM_LAYOUT_H_ */