diff --git a/android/src/lib.rs b/android/src/lib.rs index efc1c975..c2617705 100644 --- a/android/src/lib.rs +++ b/android/src/lib.rs @@ -1,7 +1,7 @@ // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at https://mozilla.org/MPL/2.0/. -// +// // Copyright 2024 — by The Lindemans, LLC // // @@ -819,6 +819,7 @@ // // // +// use core::BluetoothManager; pub struct AndroidBluetoothManager; diff --git a/core/src/lib.rs b/core/src/lib.rs index 3b6b976d..c4f02748 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -1,7 +1,7 @@ // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at https://mozilla.org/MPL/2.0/. -// +// // Copyright 2024 — by The Lindemans, LLC // // @@ -819,6 +819,7 @@ // // // +// pub trait BluetoothManager { fn connect(&self) -> Result<(), String>; fn read_data(&self) -> Result, String>; diff --git a/gui/src/lib.rs b/gui/src/lib.rs index b4574adb..7bfaa6ae 100644 --- a/gui/src/lib.rs +++ b/gui/src/lib.rs @@ -1,7 +1,7 @@ // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at https://mozilla.org/MPL/2.0/. -// +// // Copyright 2024 — by The Lindemans, LLC // // @@ -819,6 +819,7 @@ // // // +// use leptos::*; use wasm_bindgen::prelude::*; use web_sys::{window, HtmlLinkElement, HtmlMetaElement}; diff --git a/ios/src/lib.rs b/ios/src/lib.rs index 2b7a8003..ed639440 100644 --- a/ios/src/lib.rs +++ b/ios/src/lib.rs @@ -1,7 +1,7 @@ // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at https://mozilla.org/MPL/2.0/. -// +// // Copyright 2024 — by The Lindemans, LLC // // @@ -819,6 +819,7 @@ // // // +// use core::BluetoothManager; pub struct IosBluetoothManager; diff --git a/main/src/main.rs b/main/src/main.rs index 42944056..9ff34385 100644 --- a/main/src/main.rs +++ b/main/src/main.rs @@ -1,7 +1,7 @@ // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at https://mozilla.org/MPL/2.0/. -// +// // Copyright 2024 — by The Lindemans, LLC // // @@ -819,6 +819,7 @@ // // // +// #[cfg(target_os = "android")] use android_io::connect_bluetooth;