diff options
author | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 13:36:17 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 13:36:17 +0000 |
commit | 8924b724ebc40e630f14577234fc37daa06854be (patch) | |
tree | 8726bd79a8b3ae313c3319c65b1e2b2bb4f76188 /client/gdaemonvolumemonitor.h | |
parent | abedaec2e901f48a767e10be38274b91f7bfdc49 (diff) | |
download | gvfs-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.h | 33 |
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__ */ |