1 use crate::dbus_arg::DBusArg; 2 3 use btstack::bluetooth_logging::IBluetoothLogging; 4 use dbus_macros::{dbus_method, generate_dbus_exporter}; 5 use dbus_projection::prelude::*; 6 7 struct IBluetoothLoggingDBus {} 8 9 #[generate_dbus_exporter(export_bluetooth_logging_dbus_intf, "org.chromium.bluetooth.Logging")] 10 impl IBluetoothLogging for IBluetoothLoggingDBus { 11 #[dbus_method("IsDebugEnabled")] is_debug_enabled(&self) -> bool12 fn is_debug_enabled(&self) -> bool { 13 dbus_generated!() 14 } 15 16 #[dbus_method("SetDebugLogging")] set_debug_logging(&mut self, enabled: bool)17 fn set_debug_logging(&mut self, enabled: bool) { 18 dbus_generated!() 19 } 20 } 21