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