summaryrefslogtreecommitdiff
path: root/client/gdaemonvolumemonitor.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@src.gnome.org>2007-09-13 13:36:17 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-09-13 13:36:17 +0000
commit8924b724ebc40e630f14577234fc37daa06854be (patch)
tree8726bd79a8b3ae313c3319c65b1e2b2bb4f76188 /client/gdaemonvolumemonitor.h
parentabedaec2e901f48a767e10be38274b91f7bfdc49 (diff)
downloadgvfs-8924b724ebc40e630f14577234fc37daa06854be.tar.gz
Add initial GDaemonVolume and GDaemonVolumeMonitor sources.
Original git commit by Hans Petter Jansson <hpj@kzerza.amok> at 1178826338 -0500 svn path=/trunk/; revision=550
Diffstat (limited to 'client/gdaemonvolumemonitor.h')
-rw-r--r--client/gdaemonvolumemonitor.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/client/gdaemonvolumemonitor.h b/client/gdaemonvolumemonitor.h
new file mode 100644
index 00000000..3f867984
--- /dev/null
+++ b/client/gdaemonvolumemonitor.h
@@ -0,0 +1,33 @@
+#ifndef __G_DAEMON_VOLUME_MONITOR_H__
+#define __G_DAEMON_VOLUME_MONITOR_H__
+
+#include <glib-object.h>
+#include <gio/gvolumemonitor.h>
+
+G_BEGIN_DECLS
+
+#define G_TYPE_DAEMON_VOLUME_MONITOR (g_daemon_volume_monitor_get_type ())
+#define G_DAEMON_VOLUME_MONITOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_DAEMON_VOLUME_MONITOR, GDaemonVolumeMonitor))
+#define G_DAEMON_VOLUME_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_DAEMON_VOLUME_MONITOR, GDaemonVolumeMonitorClass))
+#define G_IS_DAEMON_VOLUME_MONITOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DAEMON_VOLUME_MONITOR))
+#define G_IS_DAEMON_VOLUME_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_DAEMON_VOLUME_MONITOR))
+
+typedef struct _GDaemonVolumeMonitor GDaemonVolumeMonitor;
+typedef struct _GDaemonVolumeMonitorClass GDaemonVolumeMonitorClass;
+
+/* Forward definitions */
+typedef struct _GDaemonVolume GDaemonVolume;
+typedef struct _GDaemonDrive GDaemonDrive;
+
+struct _GDaemonVolumeMonitorClass {
+ GVolumeMonitorClass parent_class;
+
+};
+
+GType g_daemon_volume_monitor_get_type (void) G_GNUC_CONST;
+
+GVolumeMonitor *g_daemon_volume_monitor_new (void);
+
+G_END_DECLS
+
+#endif /* __G_DAEMON_VOLUME_MONITOR_H__ */