aboutsummaryrefslogtreecommitdiff
path: root/src/lock-helper.h
blob: 9a0571c96409ce2e5df4a384a72cf35d68c9075a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef LOCK_HELPER_H__
#define LOCK_HELPER_H__

#include <libdbusmenu-glib/menuitem.h>

typedef void (*gdm_autologin_cb_t) (void);

gboolean will_lock_screen (void);
void lock_screen (DbusmenuMenuitem * mi, gpointer data);
gboolean lock_screen_setup (gpointer data);
void lock_screen_gdm_cb_set (gdm_autologin_cb_t cb);

#endif /* LOCK_HELPER_H__ */