684
by Robert Ancell
Move vt code into it's own module |
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 |
||
685
by Robert Ancell
Maintain own list of available VTs |
15 |
#include <glib-object.h> |
684
by Robert Ancell
Move vt code into it's own module |
16 |
|
17 |
gint vt_get_active (void); |
|
18 |
||
19 |
gint vt_get_unused (void); |
|
20 |
||
705
by Yves-Alexis Perez
Don't replace Plymouth if it isn't running on a valid VT |
21 |
gint vt_get_min (void); |
22 |
||
984
by Robert Ancell
Fix bug trying to reuse Plymouth VT on switch |
23 |
void vt_ref (gint number); |
24 |
||
25 |
void vt_unref (gint number); |
|
684
by Robert Ancell
Move vt code into it's own module |
26 |
|
687
by Robert Ancell
Make user switching work |
27 |
void vt_set_active (gint number); |
28 |
||
684
by Robert Ancell
Move vt code into it's own module |
29 |
#endif /* _VT_H_ */ |