X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgunixvolumemonitor.h;h=f7dfd0a3e37a3a082e7003abbfc203bba9f20a84;hb=853692bdfd9f8a87aed70d21f643dc13b57c92d1;hp=ecaffd5982afb95a64a3aa81c262cd57f779b0c0;hpb=d9594f5709313d6e7a8a4f3e5f3b23fc72017417;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gunixvolumemonitor.h b/gio/gunixvolumemonitor.h index ecaffd5..f7dfd0a 100644 --- a/gio/gunixvolumemonitor.h +++ b/gio/gunixvolumemonitor.h @@ -1,5 +1,5 @@ /* GIO - GLib Input, Output and Streaming Library - * + * * Copyright (C) 2006-2007 Red Hat, Inc. * * This library is free software; you can redistribute it and/or @@ -13,17 +13,15 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General - * Public License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. + * Public License along with this library; if not, see . * * Author: Alexander Larsson + * David Zeuthen */ #ifndef __G_UNIX_VOLUME_MONITOR_H__ #define __G_UNIX_VOLUME_MONITOR_H__ -#include #include G_BEGIN_DECLS @@ -34,23 +32,29 @@ G_BEGIN_DECLS #define G_IS_UNIX_VOLUME_MONITOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_UNIX_VOLUME_MONITOR)) #define G_IS_UNIX_VOLUME_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_UNIX_VOLUME_MONITOR)) -typedef struct _GUnixVolumeMonitor GUnixVolumeMonitor; +typedef struct _GUnixVolumeMonitor GUnixVolumeMonitor; typedef struct _GUnixVolumeMonitorClass GUnixVolumeMonitorClass; /* Forward definitions */ + +/** + * GUnixMount: + * + * Implementation of the #GMount interface for Unix systems. + */ +typedef struct _GUnixMount GUnixMount; typedef struct _GUnixVolume GUnixVolume; -typedef struct _GUnixDrive GUnixDrive; -struct _GUnixVolumeMonitorClass { +struct _GUnixVolumeMonitorClass +{ GNativeVolumeMonitorClass parent_class; - }; -GType _g_unix_volume_monitor_get_type (void) G_GNUC_CONST; +GType _g_unix_volume_monitor_get_type (void) G_GNUC_CONST; -GVolumeMonitor *_g_unix_volume_monitor_new (void); -GUnixDrive * _g_unix_volume_monitor_lookup_drive_for_mountpoint (GUnixVolumeMonitor *monitor, - const char *mountpoint); +GVolumeMonitor * _g_unix_volume_monitor_new (void); +GUnixVolume * _g_unix_volume_monitor_lookup_volume_for_mount_path (GUnixVolumeMonitor *monitor, + const char *mount_path); G_END_DECLS