]> gitweb.michael.orlitzky.com - xfce4-hdaps.git/blobdiff - panel-plugin/xfce4-hdaps.h
COPYING: update license to AGPL-3.
[xfce4-hdaps.git] / panel-plugin / xfce4-hdaps.h
index 7de1d5e511fefc8d9f8b5c9c790d8fc868648b5b..c6a28303d9ff032102b115b0a02525dd933276da 100644 (file)
@@ -1,10 +1,31 @@
+/*
+ * xfce4-hdaps, an XFCE4 panel plugin for the HDAPS system.
+ *
+ * Copyright (C) 2019 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 Affero 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 Affero General Public License for more details:
+ *
+ *   https://www.gnu.org/licenses/agpl-3.0.html
+ *
+ */
+
 #ifndef __XFCE4_HDAPS_H__
 #define __XFCE4_HDAPS_H__
 
 #include <gtk/gtk.h>
 #include <libxfce4panel/xfce-panel-plugin.h>
 #include <libxfce4panel/xfce-hvbox.h>
-#include "hdaps.h"
+#include <libxfce4util/libxfce4util.h>
 
 G_BEGIN_DECLS
 
@@ -12,9 +33,10 @@ typedef struct {
   XfcePanelPlugin *plugin;
   
   /* Panel widgets */
-  GtkWidget *eventbox;
-  GtkWidget *hvbox;
-  GtkWidget *icon;
+  GtkWidget   *eventbox;
+  GtkWidget   *hvbox;
+  GtkWidget   *icon;
+  GtkTooltips *tooltip;
   
   /* A pointer to the timeout function.
      That is, a pointer to the function that gets
@@ -42,6 +64,8 @@ typedef struct {
 void hdaps_save(XfcePanelPlugin *plugin,
                HdapsPlugin     *hdaps);
 
+void hdaps_reset_timeout(HdapsPlugin *hdaps);
+
 G_END_DECLS
 
 #endif