]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - src/console-kit.h
Load all users only when really needed
[sojka/lightdm.git] / src / console-kit.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 CONSOLE_KIT_H_
13 #define CONSOLE_KIT_H_
14
15 #include <glib-object.h>
16
17 G_BEGIN_DECLS
18
19 gchar *ck_open_session (GVariantBuilder *parameters);
20
21 void ck_lock_session (const gchar *cookie);
22
23 void ck_unlock_session (const gchar *cookie);
24
25 void ck_activate_session (const gchar *cookie);
26
27 void ck_close_session (const gchar *cookie);
28
29 gchar *ck_get_xdg_runtime_dir (const gchar *cookie);
30
31 G_END_DECLS
32
33 #endif /* CONSOLE_KIT_H_ */