aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/console/signals.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmproxy/console/signals.py')
-rw-r--r--libmproxy/console/signals.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/libmproxy/console/signals.py b/libmproxy/console/signals.py
new file mode 100644
index 00000000..e4c11f5a
--- /dev/null
+++ b/libmproxy/console/signals.py
@@ -0,0 +1,30 @@
+import blinker
+
+# Show a status message in the action bar
+status_message = blinker.Signal()
+
+# Prompt for input
+status_prompt = blinker.Signal()
+
+# Prompt for a path
+status_prompt_path = blinker.Signal()
+
+# Prompt for a single keystroke
+status_prompt_onekey = blinker.Signal()
+
+# Call a callback in N seconds
+call_in = blinker.Signal()
+
+# Focus the body, footer or header of the main window
+focus = blinker.Signal()
+
+# Fired when settings change
+update_settings = blinker.Signal()
+
+# Fired when a flow changes
+flow_change = blinker.Signal()
+
+
+# Pop and push view state onto a stack
+pop_view_state = blinker.Signal()
+push_view_state = blinker.Signal()