Added declaration of hdaps_reset_timeout in xfce4-hdaps.h.
Rearranged some header #includes.
#include <sys/types.h>
#include <errno.h>
#include <fcntl.h>
-#include <stdio.h>
#include <string.h>
+#include <stdlib.h>
+#include <unistd.h>
#include "hdaps.h"
/* The most space we expect to need when reading in
#ifndef __HDAPS_H__
#define __HDAPS_H__
+#include <stdio.h>
+
#define HDAPS_ERROR -1
#define HDAPS_OFF 0
#define HDAPS_ON 1
#include <config.h>
#endif
+#include <string.h>
#include <gtk/gtk.h>
#include <libxfcegui4/libxfcegui4.h>
#include <libxfce4panel/xfce-panel-plugin.h>
#include "xfce4-hdaps-dialogs.h"
+#include "hdaps.h"
/* Wild guess. Actually borrowed from some code
I copy-and-pasted. Doesn't seem too ugly. */
#ifndef __XFCE4_HDAPS_DIALOGS_H__
#define __XFCE4_HDAPS_DIALOGS_H__
-#include "hdaps.h"
#include "xfce4-hdaps.h"
G_BEGIN_DECLS
#include <config.h>
#endif
+#include "hdaps.h"
#include "xfce4-hdaps.h"
#include "xfce4-hdaps-dialogs.h"
#include <libxfce4panel/xfce-panel-plugin.h>
#include <libxfce4panel/xfce-hvbox.h>
#include <libxfce4util/libxfce4util.h>
-#include "hdaps.h"
G_BEGIN_DECLS
void hdaps_save(XfcePanelPlugin *plugin,
HdapsPlugin *hdaps);
+void hdaps_reset_timeout(HdapsPlugin *hdaps);
+
G_END_DECLS
#endif