]>
gitweb.michael.orlitzky.com - xfce4-hdaps.git/blob - panel-plugin/xfce4-hdaps.h
fd881ab521022d4724732c4fa6388971e8612f52
1 #ifndef __XFCE4_HDAPS_H__
2 #define __XFCE4_HDAPS_H__
5 #include <libxfce4panel/xfce-panel-plugin.h>
6 #include <libxfce4panel/xfce-hvbox.h>
7 #include <libxfce4util/libxfce4util.h>
13 XfcePanelPlugin
*plugin
;
21 /* A pointer to the timeout function.
22 That is, a pointer to the function that gets
23 executed every poll_frequency milliseconds. */
26 /* Keep track of the previous status so we don't update the
27 icon every poll_frequency for no reason. */
34 /* Pseudo-setting, updated whenever device_name is. */
35 char sysfs_file
[FILENAME_MAX
];
37 /* Configuration dialog widgets */
38 GtkWidget
*sb_poll_frequency
; /* Spinners on all our rides, yo. */
39 GtkWidget
*cb_device_name
; /* The "Device name" combo box. */
44 void hdaps_save(XfcePanelPlugin
*plugin
,