X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=panel-plugin%2Fxfce4-hdaps.h;h=9c1ac9c38578c8900f5b941dfb0da2623f507f9d;hb=c6fbeea01e8de4fedf99ea8f533991277d2c8eb7;hp=fd881ab521022d4724732c4fa6388971e8612f52;hpb=6712574bc8dca15ded885bf2fbcda14c1440519b;p=xfce4-hdaps.git diff --git a/panel-plugin/xfce4-hdaps.h b/panel-plugin/xfce4-hdaps.h index fd881ab..9c1ac9c 100644 --- a/panel-plugin/xfce4-hdaps.h +++ b/panel-plugin/xfce4-hdaps.h @@ -1,11 +1,30 @@ +/* + * 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 #include -#include #include -#include "hdaps.h" G_BEGIN_DECLS @@ -16,8 +35,7 @@ typedef struct { GtkWidget *eventbox; GtkWidget *hvbox; GtkWidget *icon; - GtkTooltips *tooltip; - + /* A pointer to the timeout function. That is, a pointer to the function that gets executed every poll_frequency milliseconds. */ @@ -44,6 +62,8 @@ typedef struct { void hdaps_save(XfcePanelPlugin *plugin, HdapsPlugin *hdaps); +void hdaps_reset_timeout(HdapsPlugin *hdaps); + G_END_DECLS #endif