From f477d11fbbaafb4786eea5721ba8b22140be1b98 Mon Sep 17 00:00:00 2001 From: Derisis13 Date: Fri, 19 Nov 2021 01:55:33 +0100 Subject: [PATCH] Replaced Clion auto headers with GPLv3 compatible headers --- main.c | 18 ++++++++++++++++-- moving.c | 19 ++++++++++++++++--- moving.h | 21 +++++++++++++++++---- shutter.h | 19 ++++++++++++++++--- timing.c | 19 ++++++++++++++++--- timing.h | 20 +++++++++++++++++--- 6 files changed, 98 insertions(+), 18 deletions(-) diff --git a/main.c b/main.c index 86cbb73..1a85ee7 100755 --- a/main.c +++ b/main.c @@ -12,8 +12,22 @@ * Raise and lowering times are defined in the rolltimelist macro. The N_of_Shutters macro contains the f * well as the desired lowering percentages are read from a local file (schedule.txt), and * are executed; the schedule contains one full week. - * . - * The program is compiled to openwrt 19.07.8; HW: D-Link DIR-600 rev.B6E + * --------------------------------------------------------------------------------------------------------------------- + * + * This file is part of Shutter. + * + * Shutter 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. + * + * Shutter 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 Shutter. If not, see . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ int main () { diff --git a/moving.c b/moving.c index 3183a41..72913c0 100644 --- a/moving.c +++ b/moving.c @@ -1,6 +1,19 @@ -// -// Created by lacko on 08/08/2021. -// +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * This file is part of Shutter. + * + * Shutter 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. + * + * Shutter 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 Shutter. If not, see . + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include "moving.h" #include diff --git a/moving.h b/moving.h index fdfa317..012883a 100644 --- a/moving.h +++ b/moving.h @@ -1,7 +1,20 @@ -// -// Created by lacko on 08/08/2021. -// Redőnyök mozgatásáért felelős függvényeket tartalmaz -// +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * This file is part of Shutter. + * + * Shutter 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. + * + * Shutter 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 Shutter. If not, see . + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + #include "shutter.h" #ifndef _MOZGATAS_H_ #define _MOZGATAS_H_ diff --git a/shutter.h b/shutter.h index d2e2641..ac4a03a 100644 --- a/shutter.h +++ b/shutter.h @@ -1,6 +1,19 @@ -// -// Created by lacko on 08/08/2021. -// +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * This file is part of Shutter. + * + * Shutter 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. + * + * Shutter 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 Shutter. If not, see . + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #ifndef _SHUTTER_H_ #define _SHUTTER_H_ diff --git a/timing.c b/timing.c index 1872171..d021118 100644 --- a/timing.c +++ b/timing.c @@ -1,6 +1,19 @@ -// -// Created by lacko on 08/08/2021. -// +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * This file is part of Shutter. + * + * Shutter 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. + * + * Shutter 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 Shutter. If not, see . + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include "timing.h" #include diff --git a/timing.h b/timing.h index 1bdf620..b5c3a5d 100644 --- a/timing.h +++ b/timing.h @@ -1,6 +1,20 @@ -// -// Created by lacko on 08/08/2021. -// +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * This file is part of Shutter. + * + * Shutter 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. + * + * Shutter 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 Shutter. If not, see . + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + #ifndef _TIMING_H_ #define _TIMING_H_