]> gitweb.michael.orlitzky.com - xfce4-hdaps.git/blobdiff - panel-plugin/xfce4-hdaps-dialogs.h
Added the LICENSE_GPL3 macro to the dialog header.
[xfce4-hdaps.git] / panel-plugin / xfce4-hdaps-dialogs.h
index 5eb7435f97bfe51933a8cd137e89eee16a5c99ff..f8bbf267a4a6a5fe8a568f8b2a0d3369766ca93d 100644 (file)
@@ -1,7 +1,26 @@
+/*
+ * xfce4-hdaps, an XFCE4 panel plugin for the HDAPS system.
+ *
+ * Copyright Michael Orlitzky
+ *
+ * http://michael.orlitzky.com/
+ *
+ * This program 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.
+ *
+ * This program 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.
+ *
+ * http://www.fsf.org/licensing/licenses/gpl.html
+ */
+
 #ifndef __XFCE4_HDAPS_DIALOGS_H__
 #define __XFCE4_HDAPS_DIALOGS_H__
 
-#include "hdaps.h"
 #include "xfce4-hdaps.h"
 
 G_BEGIN_DECLS
@@ -13,4 +32,18 @@ void hdaps_about(XfcePanelPlugin *plugin);
 
 G_END_DECLS
 
+/* I don't know why XFCE doesn't provide this. */
+#define LICENSE_GPL3                                                       \
+  "This program is free software: you can redistribute it and/or modify\n" \
+  "it under the terms of the GNU General Public License as published by\n" \
+  "the Free Software Foundation, either version 3 of the License, or\n"    \
+  "(at your option) any later version.\n"                                  \
+  "\n"                                                                     \
+  "This program is distributed in the hope that it will be useful,\n"      \
+  "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"       \
+  "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"         \
+  "GNU General Public License for more details.\n"                         \
+  "\n"                                                                     \
+  "http://www.fsf.org/licensing/licenses/gpl.html\n"
+
 #endif