summaryrefslogtreecommitdiff
path: root/gio/src/mount.hg
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2010-01-28 17:53:55 +0100
committerMurray Cumming <murrayc@murrayc.com>2010-01-28 17:53:55 +0100
commit86afa68c0ebc879a88e86b8e536c91765930363f (patch)
tree29cd291a1ba3042bf86af6a80a69952c145bfa43 /gio/src/mount.hg
parent2d65b845514e7cbba8974a1f024d9eaaf04357c8 (diff)
downloadglibmm-86afa68c0ebc879a88e86b8e536c91765930363f.tar.gz
File: Added start_mountable(), stop_mountable(), poll_mountable().
* gio/src/drive.[hg|ccg]: * gio/src/mount.hg: * gio/src/volume.hg: Change some includes to allow file.h to include more. * gio/src/file.[hg|ccg]: Added start_mountable(), stop_mountable(), poll_mountable() and the *_finish() methods. The awful documenation will be improved when I have improved it (tomorrow) for the C functions.
Diffstat (limited to 'gio/src/mount.hg')
-rw-r--r--gio/src/mount.hg15
1 files changed, 11 insertions, 4 deletions
diff --git a/gio/src/mount.hg b/gio/src/mount.hg
index 57b072b9..c62ffe8b 100644
--- a/gio/src/mount.hg
+++ b/gio/src/mount.hg
@@ -18,9 +18,13 @@
*/
//#include <giomm/drive.h>
-#include <giomm/file.h>
-#include <giomm/volume.h>
+//#include <giomm/file.h>
+//#include <giomm/volume.h>
#include <glibmm/interface.h>
+#include <giomm/asyncresult.h>
+#include <giomm/cancellable.h>
+#include <giomm/mountoperation.h>
+#include <giomm/icon.h>
_DEFS(giomm,gio)
@@ -30,12 +34,15 @@ _PINCLUDE(glibmm/private/interface_p.h)
typedef struct _GMountIface GMountIface;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
-
namespace Gio
{
+_WRAP_ENUM(MountUnmountFlags, GMountUnmountFlags, NO_GTYPE)
+_WRAP_ENUM(MountMountFlags, GMountMountFlags, NO_GTYPE)
+
+class File;
class Drive;
-//class Volume;
+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: