summaryrefslogtreecommitdiff
path: root/examples/dte/bind.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dte/bind.h')
-rw-r--r--examples/dte/bind.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/examples/dte/bind.h b/examples/dte/bind.h
deleted file mode 100644
index 22d89bd..0000000
--- a/examples/dte/bind.h
+++ /dev/null
@@ -1,20 +0,0 @@
-#ifndef BIND_H
-#define BIND_H
-
-#include <stdbool.h>
-#include "command/cache.h"
-#include "editor.h"
-#include "terminal/key.h"
-#include "util/intmap.h"
-#include "util/macros.h"
-#include "util/string.h"
-
-void add_binding(IntMap *bindings, KeyCode key, CachedCommand *cc) NONNULL_ARGS;
-void remove_binding(IntMap *bindings, KeyCode key) NONNULL_ARGS;
-const CachedCommand *lookup_binding(const IntMap *bindings, KeyCode key) NONNULL_ARGS;
-bool handle_binding(EditorState *e, InputMode mode, KeyCode key) NONNULL_ARGS WARN_UNUSED_RESULT;
-void free_bindings(IntMap *bindings) NONNULL_ARGS;
-bool dump_bindings(const IntMap *bindings, const char *flag, String *buf) NONNULL_ARGS WARN_UNUSED_RESULT;
-
-#endif
-