Skip to content

Commit

Permalink
Update source header in source files
Browse files Browse the repository at this point in the history
  • Loading branch information
ERLindeman authored Jan 4, 2025
1 parent 4a9aa43 commit 4285ffa
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
3 changes: 2 additions & 1 deletion android/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
3 changes: 2 additions & 1 deletion core/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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<Vec<u8>, String>;
Expand Down
4 changes: 2 additions & 2 deletions gui/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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::*;
Expand All @@ -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,
Expand Down Expand Up @@ -134,7 +135,6 @@ impl DbConnection {
}
}

// Widget Components and Implementation
#[derive(Clone)]
struct Widget {
name: &'static str,
Expand Down
3 changes: 2 additions & 1 deletion ios/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
3 changes: 2 additions & 1 deletion main/src/main.rs
Original file line number Diff line number Diff line change
@@ -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;

Expand Down

0 comments on commit 4285ffa

Please sign in to comment.