]>
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
;
19 /* A pointer to the timeout function.
20 That is, a pointer to the function that gets
21 executed every poll_frequency milliseconds. */
24 /* Keep track of the previous status so we don't update the
25 icon every poll_frequency for no reason. */
32 /* Pseudo-setting, updated whenever device_name is. */
33 char sysfs_file
[FILENAME_MAX
];
35 /* Configuration dialog widgets */
36 GtkWidget
*sb_poll_frequency
; /* Spinners on all our rides, yo. */
37 GtkWidget
*cb_device_name
; /* The "Device name" combo box. */
42 void hdaps_save(XfcePanelPlugin
*plugin
,