diff options
| author | David Phillips <dbphillipsnz@gmail.com> | 2016-08-25 22:09:03 +1200 | 
|---|---|---|
| committer | David Phillips <dbphillipsnz@gmail.com> | 2016-08-25 22:09:03 +1200 | 
| commit | e9966ba3c07365baf6848a395bc52d4c95d66331 (patch) | |
| tree | 504992c493c07c92e43de32eac2369ef66943908 | |
| parent | 8682260c979d52511d466cb7c14745a20aeda2f7 (diff) | |
| download | paramano-e9966ba3c07365baf6848a395bc52d4c95d66331.tar.xz | |
Move license to central file, add acknowledgement to trayfreq
| -rw-r--r-- | LICENSE | 22 | ||||
| -rw-r--r-- | bat_tray.c | 19 | ||||
| -rw-r--r-- | bat_tray.h | 18 | ||||
| -rw-r--r-- | common.c | 18 | ||||
| -rw-r--r-- | common.h | 18 | ||||
| -rw-r--r-- | defaults.c | 18 | ||||
| -rw-r--r-- | defaults.h | 18 | ||||
| -rw-r--r-- | getcore.c | 18 | ||||
| -rw-r--r-- | getcore.h | 18 | ||||
| -rw-r--r-- | getfreq.c | 18 | ||||
| -rw-r--r-- | getfreq.h | 18 | ||||
| -rw-r--r-- | getgov.c | 18 | ||||
| -rw-r--r-- | getgov.h | 18 | ||||
| -rw-r--r-- | paramano.c | 18 | ||||
| -rw-r--r-- | paramano.h | 18 | ||||
| -rw-r--r-- | paramano_set.c | 18 | ||||
| -rw-r--r-- | paramano_set_interface.c | 18 | ||||
| -rw-r--r-- | paramano_set_interface.h | 18 | ||||
| -rw-r--r-- | tray.c | 18 | ||||
| -rw-r--r-- | tray.h | 18 | 
20 files changed, 22 insertions, 343 deletions
@@ -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                                     * + * <http://www.gnu.org/licenses/>.                                      * + ************************************************************************/ @@ -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                                     * - * <http://www.gnu.org/licenses/>.                                      * - ************************************************************************/ - -  #include "bat_tray.h"  #include "common.h"  #include "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                                     * - * <http://www.gnu.org/licenses/>.                                      * - ************************************************************************/ -  #define STATE_CHARGING		0  #define STATE_DISCHARGING	1  #define STATE_CHARGED		2 @@ -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                                     * - * <http://www.gnu.org/licenses/>.                                      * - ************************************************************************/ -  #include "common.h"  #include <stdio.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                                     * - * <http://www.gnu.org/licenses/>.                                      * - ************************************************************************/ -  #include <stdarg.h>  int  get_int_value_from_filef(const char* format, ...); @@ -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                                     * - * <http://www.gnu.org/licenses/>.                                      * - ************************************************************************/ -  #include "defaults.h"  #include <stddef.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                                     * - * <http://www.gnu.org/licenses/>.                                      * - ************************************************************************/ -  #include <stdbool.h>  char* DEFAULT_GOV; @@ -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                                     * - * <http://www.gnu.org/licenses/>.                                      * - ************************************************************************/ -  #include "getcore.h"  #include <stdio.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                                     * - * <http://www.gnu.org/licenses/>.                                      * - ************************************************************************/ -  void         gc_init();  unsigned int gc_number(); @@ -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                                     * - * <http://www.gnu.org/licenses/>.                                      * - ************************************************************************/ -  #include "getfreq.h"  #include "getcore.h"  #include "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                                     * - * <http://www.gnu.org/licenses/>.                                      * - ************************************************************************/ -  #include <stddef.h>  void         gf_init(); @@ -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                                     * - * <http://www.gnu.org/licenses/>.                                      * - ************************************************************************/ -  #include "getgov.h"  #include "getcore.h"  #include "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                                     * - * <http://www.gnu.org/licenses/>.                                      * - ************************************************************************/ -  #include <stdbool.h>  void         gg_init(); @@ -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                                     * - * <http://www.gnu.org/licenses/>.                                      * - ************************************************************************/ -  #include "paramano.h"  #include "getcore.h"  #include "getgov.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                                     * - * <http://www.gnu.org/licenses/>.                                      * - ************************************************************************/ -  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                                     * - * <http://www.gnu.org/licenses/>.                                      * - ************************************************************************/ -  #include <stdio.h>  #include <stdlib.h>  #include <libintl.h> 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                                     * - * <http://www.gnu.org/licenses/>.                                      * - ************************************************************************/ -  #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                                     * - * <http://www.gnu.org/licenses/>.                                      * - ************************************************************************/ -  void si_gov(char* gov, int core);  void si_freq(int freq, int core); @@ -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                                     * - * <http://www.gnu.org/licenses/>.                                      * - ************************************************************************/ -  #include "tray.h"  #include "getcore.h"  #include "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                                     * - * <http://www.gnu.org/licenses/>.                                      * - ************************************************************************/ -  #include <stdbool.h>  void tray_set_defaults();  | 
