aboutsummaryrefslogtreecommitdiff
path: root/src/gtk-dialog/ck-pk-helper.h
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-07-26 23:47:27 -0500
committerTed Gould <ted@canonical.com>2009-07-26 23:47:27 -0500
commit9b7303cd469357b2d17cb87313d83d47ffc16470 (patch)
tree3248af69a8fb6f5791ff48aa1cd30d24146ec556 /src/gtk-dialog/ck-pk-helper.h
parentf5cec7c3e6dc602772642bd390ec632450709145 (diff)
parent0417e7049a32ceb45e19705992dfccef5d858893 (diff)
downloadayatana-indicator-session-9b7303cd469357b2d17cb87313d83d47ffc16470.tar.gz
ayatana-indicator-session-9b7303cd469357b2d17cb87313d83d47ffc16470.tar.bz2
ayatana-indicator-session-9b7303cd469357b2d17cb87313d83d47ffc16470.zip
Merging in the branch to port everything to libindicator and fleshing thigns out.
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__ */