From e9966ba3c07365baf6848a395bc52d4c95d66331 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Thu, 25 Aug 2016 22:09:03 +1200 Subject: Move license to central file, add acknowledgement to trayfreq --- LICENSE | 22 ++++++++++++++++++++++ bat_tray.c | 19 ------------------- bat_tray.h | 18 ------------------ common.c | 18 ------------------ common.h | 18 ------------------ defaults.c | 18 ------------------ defaults.h | 18 ------------------ getcore.c | 18 ------------------ getcore.h | 18 ------------------ getfreq.c | 18 ------------------ getfreq.h | 18 ------------------ getgov.c | 18 ------------------ getgov.h | 18 ------------------ paramano.c | 18 ------------------ paramano.h | 18 ------------------ paramano_set.c | 18 ------------------ paramano_set_interface.c | 18 ------------------ paramano_set_interface.h | 18 ------------------ tray.c | 18 ------------------ tray.h | 18 ------------------ 20 files changed, 22 insertions(+), 343 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e914919 --- /dev/null +++ b/LICENSE @@ -0,0 +1,22 @@ +/************************************************************************ + * Paramano * + * (C) Copyright 2016 David Phillips * + * * + * Based on code from Trayfreq * + * Trayfreq is (C) Copyright 2013 Devin Smittle * + * (C) Copyright 2013 Shae Smittle * + * * + * Paramano 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. * + * * + * Paramano 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 Paramano. If not, see * + * . * + ************************************************************************/ diff --git a/bat_tray.c b/bat_tray.c index 254cf97..f9bb1bf 100644 --- a/bat_tray.c +++ b/bat_tray.c @@ -1,22 +1,3 @@ -/************************************************************************ - * This file is part of Paramano. * - * * - * Paramano 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. * - * * - * Paramano 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 Paramano. If not, see * - * . * - ************************************************************************/ - - #include "bat_tray.h" #include "common.h" #include "defaults.h" diff --git a/bat_tray.h b/bat_tray.h index 78e8970..ccb9ab2 100644 --- a/bat_tray.h +++ b/bat_tray.h @@ -1,21 +1,3 @@ -/************************************************************************ - * This file is part of Paramano. * - * * - * Paramano 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. * - * * - * Paramano 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 Paramano. If not, see * - * . * - ************************************************************************/ - #define STATE_CHARGING 0 #define STATE_DISCHARGING 1 #define STATE_CHARGED 2 diff --git a/common.c b/common.c index 7ab555e..bb8681a 100644 --- a/common.c +++ b/common.c @@ -1,21 +1,3 @@ -/************************************************************************ - * This file is part of Paramano. * - * * - * Paramano 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. * - * * - * Paramano 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 Paramano. If not, see * - * . * - ************************************************************************/ - #include "common.h" #include diff --git a/common.h b/common.h index 26f5818..ff8c8a8 100644 --- a/common.h +++ b/common.h @@ -1,21 +1,3 @@ -/************************************************************************ - * This file is part of Paramano. * - * * - * Paramano 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. * - * * - * Paramano 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 Paramano. If not, see * - * . * - ************************************************************************/ - #include int get_int_value_from_filef(const char* format, ...); diff --git a/defaults.c b/defaults.c index 9119622..1f6e8ec 100644 --- a/defaults.c +++ b/defaults.c @@ -1,21 +1,3 @@ -/************************************************************************ - * This file is part of Paramano. * - * * - * Paramano 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. * - * * - * Paramano 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 Paramano. If not, see * - * . * - ************************************************************************/ - #include "defaults.h" #include diff --git a/defaults.h b/defaults.h index 0dda432..9a1f36c 100644 --- a/defaults.h +++ b/defaults.h @@ -1,21 +1,3 @@ -/************************************************************************ - * This file is part of Paramano. * - * * - * Paramano 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. * - * * - * Paramano 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 Paramano. If not, see * - * . * - ************************************************************************/ - #include char* DEFAULT_GOV; diff --git a/getcore.c b/getcore.c index 523be43..a0f01e4 100644 --- a/getcore.c +++ b/getcore.c @@ -1,21 +1,3 @@ -/************************************************************************ - * This file is part of Paramano. * - * * - * Paramano 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. * - * * - * Paramano 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 Paramano. If not, see * - * . * - ************************************************************************/ - #include "getcore.h" #include diff --git a/getcore.h b/getcore.h index 5dc7c9b..03f5262 100644 --- a/getcore.h +++ b/getcore.h @@ -1,20 +1,2 @@ -/************************************************************************ - * This file is part of Paramano. * - * * - * Paramano 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. * - * * - * Paramano 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 Paramano. If not, see * - * . * - ************************************************************************/ - void gc_init(); unsigned int gc_number(); diff --git a/getfreq.c b/getfreq.c index dfc5227..b2a4845 100644 --- a/getfreq.c +++ b/getfreq.c @@ -1,21 +1,3 @@ -/************************************************************************ - * This file is part of paramano. * - * * - * paramano 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. * - * * - * paramano 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 paramano. If not, see * - * . * - ************************************************************************/ - #include "getfreq.h" #include "getcore.h" #include "common.h" diff --git a/getfreq.h b/getfreq.h index 00a428f..35b6ec2 100644 --- a/getfreq.h +++ b/getfreq.h @@ -1,21 +1,3 @@ -/************************************************************************ - * This file is part of Paramano. * - * * - * Paramano 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. * - * * - * Paramano 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 Paramano. If not, see * - * . * - ************************************************************************/ - #include void gf_init(); diff --git a/getgov.c b/getgov.c index 149bf92..462b188 100644 --- a/getgov.c +++ b/getgov.c @@ -1,21 +1,3 @@ -/************************************************************************ - * This file is part of Paramano. * - * * - * Paramano 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. * - * * - * Paramano 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 Paramano. If not, see * - * . * - ************************************************************************/ - #include "getgov.h" #include "getcore.h" #include "common.h" diff --git a/getgov.h b/getgov.h index 2427155..d2b0a94 100644 --- a/getgov.h +++ b/getgov.h @@ -1,21 +1,3 @@ -/************************************************************************ - * This file is part of Paramano. * - * * - * Paramano 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. * - * * - * Paramano 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 Paramano. If not, see * - * . * - ************************************************************************/ - #include void gg_init(); diff --git a/paramano.c b/paramano.c index 7c4db04..53fadcf 100644 --- a/paramano.c +++ b/paramano.c @@ -1,21 +1,3 @@ -/************************************************************************ - * This file is part of Paramano. * - * * - * Paramano 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. * - * * - * Paramano 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 Paramano. If not, see * - * . * - ************************************************************************/ - #include "paramano.h" #include "getcore.h" #include "getgov.h" diff --git a/paramano.h b/paramano.h index e23fac5..0387771 100644 --- a/paramano.h +++ b/paramano.h @@ -1,19 +1 @@ -/************************************************************************ - * This file is part of Paramano. * - * * - * Paramano 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. * - * * - * Paramano 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 Paramano. If not, see * - * . * - ************************************************************************/ - void config_init(); diff --git a/paramano_set.c b/paramano_set.c index e94f9ec..cd85230 100644 --- a/paramano_set.c +++ b/paramano_set.c @@ -1,21 +1,3 @@ -/************************************************************************ - * This file is part of Paramano. * - * * - * Paramano 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. * - * * - * Paramano 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 Paramano. If not, see * - * . * - ************************************************************************/ - #include #include #include diff --git a/paramano_set_interface.c b/paramano_set_interface.c index 9ac3cb4..0af13b4 100644 --- a/paramano_set_interface.c +++ b/paramano_set_interface.c @@ -1,21 +1,3 @@ -/************************************************************************ - * This file is part of Paramano. * - * * - * Paramano 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. * - * * - * Paramano 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 Paramano. If not, see * - * . * - ************************************************************************/ - #include "paramano_set_interface.h" #include "common.h" diff --git a/paramano_set_interface.h b/paramano_set_interface.h index a3f27cb..3198f9f 100644 --- a/paramano_set_interface.h +++ b/paramano_set_interface.h @@ -1,20 +1,2 @@ -/************************************************************************ - * This file is part of Paramano. * - * * - * Paramano 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. * - * * - * Paramano 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 Paramano. If not, see * - * . * - ************************************************************************/ - void si_gov(char* gov, int core); void si_freq(int freq, int core); diff --git a/tray.c b/tray.c index 0db6fb8..edbe355 100644 --- a/tray.c +++ b/tray.c @@ -1,21 +1,3 @@ -/************************************************************************ - * This file is part of Paramano. * - * * - * Paramano 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. * - * * - * Paramano 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 Paramano. If not, see * - * . * - ************************************************************************/ - #include "tray.h" #include "getcore.h" #include "getfreq.h" diff --git a/tray.h b/tray.h index 6cf456c..dbe842e 100644 --- a/tray.h +++ b/tray.h @@ -1,21 +1,3 @@ -/************************************************************************ - * This file is part of Paramano. * - * * - * Paramano 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. * - * * - * Paramano 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 Paramano. If not, see * - * . * - ************************************************************************/ - #include void tray_set_defaults(); -- cgit v1.1