diff options
| author | Teddy Wing | 2018-09-29 14:00:02 +0200 |
|---|---|---|
| committer | Teddy Wing | 2018-09-29 14:00:02 +0200 |
| commit | b02e7366c3c4b9edb5afa0d012952fad369b66a9 (patch) | |
| tree | f20872432c265b07603ce03900eb8ae26f1ee749 /src/lib.rs | |
| parent | a6f5f275e781bfa443e69b74a6c776eb6d970ded (diff) | |
| download | dome-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.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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::*; |
