2
A small helper for locking the screen.
4
Copyright 2009 Canonical Ltd.
7
Ted Gould <ted@canonical.com>
9
This program is free software: you can redistribute it and/or modify it
10
under the terms of the GNU General Public License version 3, as published
11
by the Free Software Foundation.
13
This program is distributed in the hope that it will be useful, but
14
WITHOUT ANY WARRANTY; without even the implied warranties of
15
MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
16
PURPOSE. See the GNU General Public License for more details.
18
You should have received a copy of the GNU General Public License along
19
with this program. If not, see <http://www.gnu.org/licenses/>.
22
#ifndef LOCK_HELPER_H__
23
#define LOCK_HELPER_H__
25
#include <libdbusmenu-glib/menuitem.h>
27
void screensaver_throttle (gchar * reason);
28
void screensaver_unthrottle (void);
30
gboolean will_lock_screen (void);
31
void lock_screen (DbusmenuMenuitem * mi, guint timestamp, gpointer data);
32
gboolean lock_screen_setup (gpointer data);
34
#endif /* LOCK_HELPER_H__ */