summaryrefslogtreecommitdiff
path: root/apps/action.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/action.h')
-rw-r--r--apps/action.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/action.h b/apps/action.h
index 711ec58f71..ad91f31535 100644
--- a/apps/action.h
+++ b/apps/action.h
@@ -68,10 +68,17 @@
68#if !defined(HAS_BUTTON_HOLD) 68#if !defined(HAS_BUTTON_HOLD)
69/* returns true if keys_locked and screen_has_lock */ 69/* returns true if keys_locked and screen_has_lock */
70bool is_keys_locked(void); 70bool is_keys_locked(void);
71
71/* Enable selected actions to bypass a locked state 72/* Enable selected actions to bypass a locked state
72* mask is combination of Selective action selection flags */ 73* mask is combination of Selective action selection flags */
73void set_selective_softlock_actions(bool selective, unsigned int mask); 74void set_selective_softlock_actions(bool selective, unsigned int mask);
74#endif 75
76/* search the standard and wps contexts for ACTION_STD_KEYLOCK,
77 * load it into unlock_combo if we find it,
78 * also arm autolock if enabled. */
79void action_autosoftlock_init(void);
80
81#endif /* !defined(HAS_BUTTON_HOLD) */
75 82
76#if defined(HAVE_BACKLIGHT) 83#if defined(HAVE_BACKLIGHT)
77/* Enable selected actions to leave the backlight off 84/* Enable selected actions to leave the backlight off