diff options
Diffstat (limited to 'gio/src/mount.hg')
-rw-r--r-- | gio/src/mount.hg | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/gio/src/mount.hg b/gio/src/mount.hg index fb529cfa..d50a4f1e 100644 --- a/gio/src/mount.hg +++ b/gio/src/mount.hg @@ -45,12 +45,12 @@ class Drive; class Volume; /** The Mount interface represents user-visible mounts. - * Mount is a "mounted" filesystem that you can access. Mounted is in quotes because it's not the same as a unix mount: + * Mount is a "mounted" filesystem that you can access. Mounted is in quotes because it's not the same as a unix mount: * it might be a gvfs mount, but you can still access the files on it if you use GIO. It might or might not be related to a volume object. * - * Unmounting a Mount instance is an asynchronous operation. For more information about asynchronous operations, see AsyncReady. - * To unmount a Mount instance, first call unmount(). The callback slot will be called when the operation has resolved (either with success or failure), - * and a AsyncReady structure will be passed to the callback. That callback should then call unmount_finish() with the AsyncReady data to see if the operation was completed successfully. + * Unmounting a Mount instance is an asynchronous operation. For more information about asynchronous operations, see AsyncReady. + * To unmount a Mount instance, first call unmount(). The callback slot will be called when the operation has resolved (either with success or failure), + * and a AsyncReady structure will be passed to the callback. That callback should then call unmount_finish() with the AsyncReady data to see if the operation was completed successfully. * * @ingroup Streams * @@ -99,8 +99,8 @@ public: /** Remounts a mount. * This is an asynchronous operation, and is finished by calling mount_finish() with the AsyncResult data returned in the callback slot. * - * Remounting is useful when some setting affecting the operation of the volume has been changed, as this may need a remount - * to take affect. While this is semantically equivalent with unmounting and then remounting, not all backends might need to + * Remounting is useful when some setting affecting the operation of the volume has been changed, as this may need a remount + * to take affect. While this is semantically equivalent with unmounting and then remounting, not all backends might need to * actually be unmounted. * * @param operation A mount operation. @@ -112,8 +112,8 @@ public: /** Remounts a mount. * This is an asynchronous operation, and is finished by calling mount_finish() with the AsyncResult data returned in the callback slot. * - * Remounting is useful when some setting affecting the operation of the volume has been changed, as this may need a remount - * to take affect. While this is semantically equivalent with unmounting and then remounting, not all backends might need to + * Remounting is useful when some setting affecting the operation of the volume has been changed, as this may need a remount + * to take affect. While this is semantically equivalent with unmounting and then remounting, not all backends might need to * actually be unmounted. * * @param operation A mount operation. @@ -122,9 +122,9 @@ public: void remount(const Glib::RefPtr<MountOperation>& operation, const SlotAsyncReady& slot, MountMountFlags flags = MOUNT_MOUNT_NONE); /** Remounts a mount. - * - * Remounting is useful when some setting affecting the operation of the volume has been changed, as this may need a remount - * to take affect. While this is semantically equivalent with unmounting and then remounting, not all backends might need to + * + * Remounting is useful when some setting affecting the operation of the volume has been changed, as this may need a remount + * to take affect. While this is semantically equivalent with unmounting and then remounting, not all backends might need to * actually be unmounted. * * @param operation A mount operation. @@ -132,9 +132,9 @@ public: void remount(const Glib::RefPtr<MountOperation>& operation, MountMountFlags flags = MOUNT_MOUNT_NONE); /** Remounts a mount, without user interaction. - * - * Remounting is useful when some setting affecting the operation of the volume has been changed, as this may need a remount - * to take affect. While this is semantically equivalent with unmounting and then remounting, not all backends might need to + * + * Remounting is useful when some setting affecting the operation of the volume has been changed, as this may need a remount + * to take affect. While this is semantically equivalent with unmounting and then remounting, not all backends might need to * actually be unmounted. */ void remount(MountMountFlags flags = MOUNT_MOUNT_NONE); @@ -159,10 +159,10 @@ public: /** Tries to guess the type of content stored on the mount. * Returns one or more textual identifiers of well-known content types (typically - * prefixed with "x-content/"), e.g. x-content/image-dcf for camera + * prefixed with "x-content/"), e.g. x-content/image-dcf for camera * memory cards. See the <ulink url="http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec">shared-mime-info</ulink> specification for more on x-content types. * - * This is an asynchronous operation, and is finished by calling + * This is an asynchronous operation, and is finished by calling * guess_content_type_finish(). * * @param slot A callback which will be called when the operation is completed or canceled. @@ -175,10 +175,10 @@ public: /** Tries to guess the type of content stored on the mount. * Returns one or more textual identifiers of well-known content types (typically - * prefixed with "x-content/"), e.g. x-content/image-dcf for camera + * prefixed with "x-content/"), e.g. x-content/image-dcf for camera * memory cards. See the <ulink url="http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec">shared-mime-info</ulink> specification for more on x-content types. * - * This is an asynchronous operation, and is finished by calling + * This is an asynchronous operation, and is finished by calling * guess_content_type_finish(). * * @param slot A callback which will be called when the operation is completed or canceled. @@ -190,7 +190,7 @@ public: /** Tries to guess the type of content stored on the mount. * Returns one or more textual identifiers of well-known content types (typically - * prefixed with "x-content/"), e.g. x-content/image-dcf for camera + * prefixed with "x-content/"), e.g. x-content/image-dcf for camera * memory cards. See the <ulink url="http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec">shared-mime-info</ulink> specification for more on x-content types. * * @param force_rescan Whether to force a rescan of the content. Otherwise a cached result will be used if available. @@ -235,11 +235,11 @@ Glib::RefPtr<Gio::Mount> wrap(GMount* object, bool take_copy); namespace Container_Helpers { -/** This specialization of TypeTraits exists - * because the default use of Glib::wrap(GObject*), +/** This specialization of TypeTraits exists + * because the default use of Glib::wrap(GObject*), * instead of a specific Glib::wrap(GSomeInterface*), * would not return a wrapper for an interface. - */ + */ template <> struct TypeTraits< Glib::RefPtr<Gio::Mount> > { @@ -252,7 +252,7 @@ struct TypeTraits< Glib::RefPtr<Gio::Mount> > static CppType to_cpp_type (const CType& item) { - //Use a specific Glib::wrap() function, + //Use a specific Glib::wrap() function, //because CType has the specific type (not just GObject): return Glib::wrap(item, true /* take_copy */); } |