From 19069d62bc9a689b80642d392f38f6d0dc2d1f14 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 13 Oct 2026 22:26:11 +0000 Subject: [PATCH] Add consistent headers to Rust sources Co-authored-by: phieri <12006381+phieri@users.noreply.github.com> --- src/cli.rs | 2 ++ src/group_editor.rs | 2 ++ src/pipewire.rs | 2 ++ src/route_policy.rs | 2 ++ src/routing_status.rs | 2 ++ src/session/routing.rs | 2 ++ src/transmit.rs | 2 ++ src/transport.rs | 2 ++ 8 files changed, 16 insertions(+) diff --git a/src/cli.rs b/src/cli.rs index 1a26589..0816286 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2026 Philip Eriksson. All rights reserved. + use crate::bluez::{Address, parse_address}; use crate::ptt::PttButton; use crate::runtime_config::parse_interval; diff --git a/src/group_editor.rs b/src/group_editor.rs index 21bd901..06bcd70 100644 --- a/src/group_editor.rs +++ b/src/group_editor.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2026 Philip Eriksson. All rights reserved. + //! Talk-group edits and persistence, independent of terminal presentation. use std::collections::BTreeSet; diff --git a/src/pipewire.rs b/src/pipewire.rs index 8d98a85..d574b46 100644 --- a/src/pipewire.rs +++ b/src/pipewire.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2026 Philip Eriksson. All rights reserved. + //! One typed view of each observed PipeWire dump, shared by routing and transport. use std::collections::{BTreeMap, BTreeSet}; diff --git a/src/route_policy.rs b/src/route_policy.rs index d50ba36..6cbc73f 100644 --- a/src/route_policy.rs +++ b/src/route_policy.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2026 Philip Eriksson. All rights reserved. + //! Pure headset route selection, independent of PipeWire link ownership. use std::collections::{BTreeMap, BTreeSet}; diff --git a/src/routing_status.rs b/src/routing_status.rs index 2440d16..90a0252 100644 --- a/src/routing_status.rs +++ b/src/routing_status.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2026 Philip Eriksson. All rights reserved. + //! Metrics and readiness derived only from observed, valid inter-headset links. use std::collections::{BTreeMap, BTreeSet}; diff --git a/src/session/routing.rs b/src/session/routing.rs index cf41f15..8f7ff00 100644 --- a/src/session/routing.rs +++ b/src/session/routing.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2026 Philip Eriksson. All rights reserved. + use std::collections::{BTreeMap, BTreeSet}; use std::sync::atomic::AtomicBool; diff --git a/src/transmit.rs b/src/transmit.rs index b0af19f..41ffdb5 100644 --- a/src/transmit.rs +++ b/src/transmit.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2026 Philip Eriksson. All rights reserved. + //! Timestamped, hardware-independent transmit policy. //! //! Full-duplex mappings start in PTT. Three distinct play/pause presses whose diff --git a/src/transport.rs b/src/transport.rs index fc919f5..be182f5 100644 --- a/src/transport.rs +++ b/src/transport.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2026 Philip Eriksson. All rights reserved. + //! Opt-in SCO microphone / A2DP receiver metadata and profile transitions. //! //! Profile changes are not restored on exit: restoring every HFP profile would