1#[allow(dead_code)]
2use super::interface::*;
3
4pub struct DummyTouchbar {}
6
7#[allow(dead_code)]
8impl TTouchbar for DummyTouchbar {
9 type T = DummyTouchbar;
10 fn alloc(_title: &str) -> DummyTouchbar { DummyTouchbar {} }
11}
12
13pub mod util {
15 use super::ItemId;
16 pub fn print_nsstring(_str: *mut u64) {}
18 pub fn nsstring_decode(_str: *mut u64) -> String { String::new() }
20 pub fn bundled_resource_path(_name: &str, _extension: &str) -> Option<String> { None }
22 pub unsafe fn set_bg_color(_item: &ItemId, _r: f64, _g: f64, _b: f64, _alpha: f64) { }
24 pub unsafe fn set_text_color(_item: &ItemId, _r: f64, _g: f64, _b: f64, _alpha: f64) { }
26}