diff --git a/android/src/lib.rs b/android/src/lib.rs index 893c9518d..27c0bf520 100644 --- a/android/src/lib.rs +++ b/android/src/lib.rs @@ -1,9 +1,10 @@ // 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 728eb2060..34557af00 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -1,9 +1,10 @@ // 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 04aa229ef..13bce063e 100644 --- a/gui/src/lib.rs +++ b/gui/src/lib.rs @@ -1,6 +1,8 @@ // 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::*; @@ -13,7 +15,6 @@ use serde::{Serialize, Deserialize}; use serde_wasm_bindgen; use gloo_console as console; -// Database Structures and Implementation #[derive(Serialize, Deserialize, Clone, Debug)] struct WidgetEntry { widget_id: String, @@ -134,7 +135,6 @@ impl DbConnection { } } -// Widget Components and Implementation #[derive(Clone)] struct Widget { name: &'static str, diff --git a/ios/src/lib.rs b/ios/src/lib.rs index d6011e124..ebcf170f1 100644 --- a/ios/src/lib.rs +++ b/ios/src/lib.rs @@ -1,9 +1,10 @@ // 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 e70f01d4f..3393398b9 100644 --- a/main/src/main.rs +++ b/main/src/main.rs @@ -1,9 +1,10 @@ // 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;