aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorTeddy Wing2018-09-29 14:00:02 +0200
committerTeddy Wing2018-09-29 14:00:02 +0200
commitb02e7366c3c4b9edb5afa0d012952fad369b66a9 (patch)
treef20872432c265b07603ce03900eb8ae26f1ee749 /src/lib.rs
parenta6f5f275e781bfa443e69b74a6c776eb6d970ded (diff)
downloaddome-key-map-b02e7366c3c4b9edb5afa0d012952fad369b66a9.tar.bz2
Change `parser::Action` to an enum
It will now be a different type of `Vec` depending on whether it represents a string map or a command. We'll have new parsers to parse the action definition in a more fine-grained way. The `String` variant is just there for temporary backward compatibility while I figure out parsing for the other two. Still need to update the tests for this change.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 795d1d9..b51b165 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -13,6 +13,6 @@ extern crate xdg;
mod cocoa_bridge;
mod parser;
-use parser::{HeadphoneButton, MapGroup, MapKind};
+use parser::{Action, HeadphoneButton, MapGroup, MapKind};
pub use cocoa_bridge::*;