diff --git a/android/src/lib.rs b/android/src/lib.rs index c4bf71711..a651b33ae 100644 --- a/android/src/lib.rs +++ b/android/src/lib.rs @@ -1,13 +1,14 @@ // 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 4b205b71a..9a6901809 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -1,13 +1,14 @@ // 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 c19a26927..7831600f1 100644 --- a/gui/src/lib.rs +++ b/gui/src/lib.rs @@ -1,13 +1,14 @@ // 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 c8f9d30f6..eb39d73f9 100644 --- a/ios/src/lib.rs +++ b/ios/src/lib.rs @@ -1,13 +1,14 @@ // 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 01accaba8..f5c4774ef 100644 --- a/main/src/main.rs +++ b/main/src/main.rs @@ -1,13 +1,14 @@ // 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;