aboutsummaryrefslogtreecommitdiffstats
path: root/dome_key_map.h
diff options
context:
space:
mode:
authorTeddy Wing2018-09-25 13:16:53 +0200
committerTeddy Wing2018-09-25 13:24:16 +0200
commit69343f6d6ae1524adeba78e31efa48dca78f0d2b (patch)
treebb0c8ec28908eceaeecf0b93ff1c1678cb1dcacc /dome_key_map.h
parentb0be366aa4e6eef93e4788e81c11cf481f90e556 (diff)
downloaddome-key-map-69343f6d6ae1524adeba78e31efa48dca78f0d2b.tar.bz2
Add `state_load_map_group()` to get `MapGroup` from config file
Currently untested. This function is supposed to get a mapping file from the XDG config directory, parse it, and load it into the state.
Diffstat (limited to 'dome_key_map.h')
-rw-r--r--dome_key_map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dome_key_map.h b/dome_key_map.h
index fc2e7fd..3b5aa04 100644
--- a/dome_key_map.h
+++ b/dome_key_map.h
@@ -40,4 +40,6 @@ const CKeyActionResult *c_run_key_action(State *state, Trigger trigger, const Tr
void state_free(State *ptr);
+void state_load_map_group(State *ptr);
+
State *state_new(void);