aboutsummaryrefslogtreecommitdiff
path: root/harness/include/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'harness/include/plugin.h')
-rw-r--r--harness/include/plugin.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/harness/include/plugin.h b/harness/include/plugin.h
index db15401..651e2f1 100644
--- a/harness/include/plugin.h
+++ b/harness/include/plugin.h
@@ -92,6 +92,11 @@ typedef struct PLUGIN {
*/
EXPORT(void (*plugin_teardown)(opqst_t));
+ /*
+ * Handles a keybinding.
+ */
+ EXPORT(opqst_t (*plugin_handle_keybinding)(uint32_t keysym, opqst_t state));
+
} plugin_t;
/** Loads a plugin from the dynamic library handle. Returns a non-zero error