Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Source Headers #1811

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
3 changes: 2 additions & 1 deletion gui/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 leptos::*;
use wasm_bindgen::prelude::*;
use web_sys::{window, HtmlLinkElement, HtmlMetaElement};
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
Loading