From efb2888e173bbb6ccf491b91d8da303bc51cc0ad Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Sun, 6 Jun 2021 21:52:54 +0200 Subject: [PATCH] chore(ui): add missing licence header --- espanso-ui/src/icons.rs | 19 +++++++++++++++++++ espanso-ui/src/lib.rs | 19 +++++++++++++++++++ espanso-ui/src/linux/mod.rs | 19 +++++++++++++++++++ 3 files changed, 57 insertions(+) diff --git a/espanso-ui/src/icons.rs b/espanso-ui/src/icons.rs index 5fea61e..b1adca0 100644 --- a/espanso-ui/src/icons.rs +++ b/espanso-ui/src/icons.rs @@ -1,3 +1,22 @@ +/* + * This file is part of espanso. + * + * Copyright (C) 2019-2021 Federico Terzi + * + * espanso 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. + * + * espanso 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 espanso. If not, see . + */ + #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum TrayIcon { Normal, diff --git a/espanso-ui/src/lib.rs b/espanso-ui/src/lib.rs index 0792975..07e9279 100644 --- a/espanso-ui/src/lib.rs +++ b/espanso-ui/src/lib.rs @@ -1,3 +1,22 @@ +/* + * This file is part of espanso. + * + * Copyright (C) 2019-2021 Federico Terzi + * + * espanso 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. + * + * espanso 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 espanso. If not, see . + */ + use anyhow::Result; use icons::TrayIcon; use thiserror::Error; diff --git a/espanso-ui/src/linux/mod.rs b/espanso-ui/src/linux/mod.rs index 3135019..cfdebbe 100644 --- a/espanso-ui/src/linux/mod.rs +++ b/espanso-ui/src/linux/mod.rs @@ -1,3 +1,22 @@ +/* + * This file is part of espanso. + * + * Copyright (C) 2019-2021 Federico Terzi + * + * espanso 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. + * + * espanso 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 espanso. If not, see . + */ + use anyhow::Result; use log::error; use notify_rust::Notification;