diff --git a/android/src/lib.rs b/android/src/lib.rs index 2e718703a..c86598468 100644 --- a/android/src/lib.rs +++ b/android/src/lib.rs @@ -1,12 +1,13 @@ // 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 // // // // +// use core::BluetoothManager; pub struct AndroidBluetoothManager; diff --git a/core/src/lib.rs b/core/src/lib.rs index f0274c6cf..3b51871f8 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -1,12 +1,13 @@ // 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 // // // // +// 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 eb444f14c..a5b332081 100644 --- a/gui/src/lib.rs +++ b/gui/src/lib.rs @@ -1,12 +1,13 @@ // 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 // // // // +// 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 d44c8f23a..597ba0fd1 100644 --- a/ios/src/lib.rs +++ b/ios/src/lib.rs @@ -1,12 +1,13 @@ // 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 // // // // +// use core::BluetoothManager; pub struct IosBluetoothManager; diff --git a/main/src/main.rs b/main/src/main.rs index c945959b8..80e49b407 100644 --- a/main/src/main.rs +++ b/main/src/main.rs @@ -1,12 +1,13 @@ // 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 // // // // +// #[cfg(target_os = "android")] use android_io::connect_bluetooth;