diff options
author | Ted Gould <ted@canonical.com> | 2009-10-06 20:23:17 -0400 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-10-06 20:23:17 -0400 |
commit | f6fc44d8020fb20200b961359ad581dade9e231b (patch) | |
tree | 74747fbb39c71f88e6ac35a12b97afb075887155 /src/lock-helper.h | |
parent | e9bce071011fd10360934dcc09cdabff2b9880ce (diff) | |
download | ayatana-indicator-session-f6fc44d8020fb20200b961359ad581dade9e231b.tar.gz ayatana-indicator-session-f6fc44d8020fb20200b961359ad581dade9e231b.tar.bz2 ayatana-indicator-session-f6fc44d8020fb20200b961359ad581dade9e231b.zip |
Moving arround the lock screen code so that it's in a helper.
Diffstat (limited to 'src/lock-helper.h')
-rw-r--r-- | src/lock-helper.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lock-helper.h b/src/lock-helper.h index e69de29..5103242 100644 --- a/src/lock-helper.h +++ b/src/lock-helper.h @@ -0,0 +1,12 @@ +#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); + +#endif /* LOCK_HELPER_H__ */ |