diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2014-11-14 15:30:22 +1300 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2014-11-14 15:30:22 +1300 |
commit | 9b4b12edc4d4844480b2717cbfa7eefe62198ecc (patch) | |
tree | 3369735dc397f72ebb57ddf8d34e940fd807e491 /src/console-kit.h | |
parent | cfceaf69929cacde5e31be21e93cf44866997bbe (diff) | |
download | lightdm-9b4b12edc4d4844480b2717cbfa7eefe62198ecc.tar.gz |
Revert removal of ConsoleKit support.
ConsoleKit has recently been forked for XFCE and Illumos is using ConsoleKit + LightDM.
http://lists.freedesktop.org/archives/lightdm/2014-November/000731.html
Diffstat (limited to 'src/console-kit.h')
-rw-r--r-- | src/console-kit.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/console-kit.h b/src/console-kit.h new file mode 100644 index 00000000..1080338e --- /dev/null +++ b/src/console-kit.h @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2010-2011 Robert Ancell. + * Author: Robert Ancell <robert.ancell@canonical.com> + * + * This program is free software: you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free Software + * Foundation, either version 3 of the License, or (at your option) any later + * version. See http://www.gnu.org/copyleft/gpl.html the full text of the + * license. + */ + +#ifndef CONSOLE_KIT_H_ +#define CONSOLE_KIT_H_ + +#include <glib-object.h> + +G_BEGIN_DECLS + +gchar *ck_open_session (GVariantBuilder *parameters); + +void ck_lock_session (const gchar *cookie); + +void ck_unlock_session (const gchar *cookie); + +void ck_activate_session (const gchar *cookie); + +void ck_close_session (const gchar *cookie); + +G_END_DECLS + +#endif /* CONSOLE_KIT_H_ */ |