aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2016-08-25 22:09:03 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2016-08-25 22:09:03 +1200
commite9966ba3c07365baf6848a395bc52d4c95d66331 (patch)
tree504992c493c07c92e43de32eac2369ef66943908
parent8682260c979d52511d466cb7c14745a20aeda2f7 (diff)
downloadparamano-e9966ba3c07365baf6848a395bc52d4c95d66331.tar.xz
Move license to central file, add acknowledgement to trayfreq
-rw-r--r--LICENSE22
-rw-r--r--bat_tray.c19
-rw-r--r--bat_tray.h18
-rw-r--r--common.c18
-rw-r--r--common.h18
-rw-r--r--defaults.c18
-rw-r--r--defaults.h18
-rw-r--r--getcore.c18
-rw-r--r--getcore.h18
-rw-r--r--getfreq.c18
-rw-r--r--getfreq.h18
-rw-r--r--getgov.c18
-rw-r--r--getgov.h18
-rw-r--r--paramano.c18
-rw-r--r--paramano.h18
-rw-r--r--paramano_set.c18
-rw-r--r--paramano_set_interface.c18
-rw-r--r--paramano_set_interface.h18
-rw-r--r--tray.c18
-rw-r--r--tray.h18
20 files changed, 22 insertions, 343 deletions
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 *
+ * <http://www.gnu.org/licenses/>. *
+ ************************************************************************/
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 *
- * <http://www.gnu.org/licenses/>. *
- ************************************************************************/
-
-
#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 *
- * <http://www.gnu.org/licenses/>. *
- ************************************************************************/
-
#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 *
- * <http://www.gnu.org/licenses/>. *
- ************************************************************************/
-
#include "common.h"
#include <stdio.h>
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 *
- * <http://www.gnu.org/licenses/>. *
- ************************************************************************/
-
#include <stdarg.h>
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 *
- * <http://www.gnu.org/licenses/>. *
- ************************************************************************/
-
#include "defaults.h"
#include <stddef.h>
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 *
- * <http://www.gnu.org/licenses/>. *
- ************************************************************************/
-
#include <stdbool.h>
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 *
- * <http://www.gnu.org/licenses/>. *
- ************************************************************************/
-
#include "getcore.h"
#include <stdio.h>
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 *
- * <http://www.gnu.org/licenses/>. *
- ************************************************************************/
-
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 *
- * <http://www.gnu.org/licenses/>. *
- ************************************************************************/
-
#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 *
- * <http://www.gnu.org/licenses/>. *
- ************************************************************************/
-
#include <stddef.h>
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 *
- * <http://www.gnu.org/licenses/>. *
- ************************************************************************/
-
#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 *
- * <http://www.gnu.org/licenses/>. *
- ************************************************************************/
-
#include <stdbool.h>
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 *
- * <http://www.gnu.org/licenses/>. *
- ************************************************************************/
-
#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 *
- * <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);
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 *
- * <http://www.gnu.org/licenses/>. *
- ************************************************************************/
-
#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 *
- * <http://www.gnu.org/licenses/>. *
- ************************************************************************/
-
#include <stdbool.h>
void tray_set_defaults();