]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - src/vt.h
Load all users only when really needed
[sojka/lightdm.git] / src / vt.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 VT_H_
13 #define VT_H_
14
15 #include <glib-object.h>
16
17 gboolean vt_can_multi_seat (void);
18
19 gint vt_get_active (void);
20
21 gint vt_get_unused (void);
22
23 gint vt_get_min (void);
24
25 void vt_ref (gint number);
26
27 void vt_unref (gint number);
28
29 void vt_set_active (gint number);
30
31 #endif /* VT_H_ */