diff --git a/src/application.rs b/src/application.rs index 04edf2e..a6a402e 100644 --- a/src/application.rs +++ b/src/application.rs @@ -1,3 +1,22 @@ +// application.rs +// +// Copyright 2021 Tom A. Wagner +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-only + use std::cell::RefCell; use gtk::{ diff --git a/src/main.rs b/src/main.rs index 0357860..874cf63 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,22 @@ +// main.rs +// +// Copyright 2021 Tom A. Wagner +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-only + mod application; mod pipewire_connection; mod view; diff --git a/src/pipewire_connection.rs b/src/pipewire_connection.rs index 9d966f6..a4a170a 100644 --- a/src/pipewire_connection.rs +++ b/src/pipewire_connection.rs @@ -1,3 +1,22 @@ +// pipewire_connection.rs +// +// Copyright 2021 Tom A. Wagner +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-only + mod state; use std::{cell::RefCell, collections::HashMap, rc::Rc}; diff --git a/src/pipewire_connection/state.rs b/src/pipewire_connection/state.rs index 0275a89..e781620 100644 --- a/src/pipewire_connection/state.rs +++ b/src/pipewire_connection/state.rs @@ -1,3 +1,22 @@ +// state.rs +// +// Copyright 2021 Tom A. Wagner +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-only + use std::collections::HashMap; use crate::MediaType; diff --git a/src/view/graph_view.rs b/src/view/graph_view.rs index 5c14235..11b6a85 100644 --- a/src/view/graph_view.rs +++ b/src/view/graph_view.rs @@ -1,3 +1,22 @@ +// graph_view.rs +// +// Copyright 2021 Tom A. Wagner +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-only + use super::{Node, Port}; use gtk::{ diff --git a/src/view/mod.rs b/src/view/mod.rs index ace5133..8de552f 100644 --- a/src/view/mod.rs +++ b/src/view/mod.rs @@ -1,3 +1,22 @@ +// mod.rs +// +// Copyright 2021 Tom A. Wagner +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-only + //! The view presented to the user. //! //! This module contains gtk widgets needed to present the graphical user interface. diff --git a/src/view/node.rs b/src/view/node.rs index b9da342..3b1cd4e 100644 --- a/src/view/node.rs +++ b/src/view/node.rs @@ -1,3 +1,22 @@ +// node.rs +// +// Copyright 2021 Tom A. Wagner +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-only + use gtk::{glib, prelude::*, subclass::prelude::*}; use pipewire::spa::Direction; diff --git a/src/view/port.rs b/src/view/port.rs index b7ee171..214a9a1 100644 --- a/src/view/port.rs +++ b/src/view/port.rs @@ -1,3 +1,22 @@ +// port.rs +// +// Copyright 2021 Tom A. Wagner +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-only + use gtk::{ gdk, glib::{self, clone, subclass::Signal},