aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
blob: 39e6a31910f22b74c844d0efb9a017605aa36746 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#![recursion_limit="128"]

extern crate autopilot;
extern crate cocoa;

#[macro_use]
extern crate combine;
extern crate core_graphics;
extern crate foreign_types;
extern crate getopts;
extern crate libc;

#[macro_use]
extern crate log;

#[macro_use]
extern crate objc;
extern crate stderrlog;
extern crate xdg;

mod cocoa_bridge;
mod config;
mod key_code;
mod parser;

use parser::{Action, HeadphoneButton, MapAction, MapGroup, MapKind};

pub use cocoa_bridge::*;
pub use config::{Config, parse_args};