aboutsummaryrefslogtreecommitdiff
path: root/src/gtk-dialog/ck-pk-helper.h
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-07-22 12:48:41 -0500
committerTed Gould <ted@canonical.com>2009-07-22 12:48:41 -0500
commit3852caea472d3a95891ae5b58463f417877472a3 (patch)
treef2e34e75ccf7d9c0f87aebb2a29cbf5ce9294632 /src/gtk-dialog/ck-pk-helper.h
parent49a4fd2bd3e8539fb6faf717dd4016ffcfd58c52 (diff)
parentc9cfcc8a9aefd2122e80e3674c0da96ffe849a34 (diff)
downloadayatana-indicator-session-3852caea472d3a95891ae5b58463f417877472a3.tar.gz
ayatana-indicator-session-3852caea472d3a95891ae5b58463f417877472a3.tar.bz2
ayatana-indicator-session-3852caea472d3a95891ae5b58463f417877472a3.zip
Adding a helper for the logout window. And setting things
up to call it.
Diffstat (limited to 'src/gtk-dialog/ck-pk-helper.h')
-rw-r--r--src/gtk-dialog/ck-pk-helper.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gtk-dialog/ck-pk-helper.h b/src/gtk-dialog/ck-pk-helper.h
new file mode 100644
index 0000000..fb5936e
--- /dev/null
+++ b/src/gtk-dialog/ck-pk-helper.h
@@ -0,0 +1,10 @@
+
+#ifndef __CK_PK_HELPER_H__
+#define __CK_PK_HELPER_H__ 1
+
+#include <polkit-gnome/polkit-gnome.h>
+
+gboolean pk_require_auth (LogoutDialogAction action);
+gboolean pk_can_do_action (const gchar *action_id, PolKitResult * pol_result);
+
+#endif /* __CK_PK_HELPER__ */