summaryrefslogtreecommitdiff
path: root/gio/src/mount.ccg
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2017-04-18 18:39:14 +0200
committerMurray Cumming <murrayc@murrayc.com>2017-04-18 21:32:03 +0200
commitffc5e379a755c5976a5baffe6724a27139b7b81a (patch)
tree4ca0da7935630df9af661a4149622e4fa761b4db /gio/src/mount.ccg
parent35b334cd690cff1cebab6eb0c1ef16e162e52103 (diff)
downloadglibmm-ffc5e379a755c5976a5baffe6724a27139b7b81a.tar.gz
Gio::Mount: Move enums into class.
Diffstat (limited to 'gio/src/mount.ccg')
-rw-r--r--gio/src/mount.ccg32
1 files changed, 16 insertions, 16 deletions
diff --git a/gio/src/mount.ccg b/gio/src/mount.ccg
index 6b78a8b2..2ba1001c 100644
--- a/gio/src/mount.ccg
+++ b/gio/src/mount.ccg
@@ -29,7 +29,7 @@ namespace Gio
void
Mount::unmount(
- const SlotAsyncReady& slot, const Glib::RefPtr<Cancellable>& cancellable, MountUnmountFlags flags)
+ const SlotAsyncReady& slot, const Glib::RefPtr<Cancellable>& cancellable, UnmountFlags flags)
{
// Create a copy of the slot.
// A pointer to it will be passed through the callback's data parameter
@@ -42,7 +42,7 @@ Mount::unmount(
}
void
-Mount::unmount(const SlotAsyncReady& slot, MountUnmountFlags flags)
+Mount::unmount(const SlotAsyncReady& slot, UnmountFlags flags)
{
// Create a copy of the slot.
// A pointer to it will be passed through the callback's data parameter
@@ -56,7 +56,7 @@ Mount::unmount(const SlotAsyncReady& slot, MountUnmountFlags flags)
}
void
-Mount::unmount(MountUnmountFlags flags)
+Mount::unmount(UnmountFlags flags)
{
g_mount_unmount_with_operation(gobj(), GMountUnmountFlags(flags),
nullptr, // mount_operation
@@ -67,7 +67,7 @@ Mount::unmount(MountUnmountFlags flags)
void
Mount::unmount(const Glib::RefPtr<MountOperation>& mount_operation, const SlotAsyncReady& slot,
- const Glib::RefPtr<Cancellable>& cancellable, MountUnmountFlags flags)
+ const Glib::RefPtr<Cancellable>& cancellable, UnmountFlags flags)
{
// Create a copy of the slot.
// A pointer to it will be passed through the callback's data parameter
@@ -80,7 +80,7 @@ Mount::unmount(const Glib::RefPtr<MountOperation>& mount_operation, const SlotAs
void
Mount::unmount(const Glib::RefPtr<MountOperation>& mount_operation, const SlotAsyncReady& slot,
- MountUnmountFlags flags)
+ UnmountFlags flags)
{
// Create a copy of the slot.
// A pointer to it will be passed through the callback's data parameter
@@ -93,7 +93,7 @@ Mount::unmount(const Glib::RefPtr<MountOperation>& mount_operation, const SlotAs
}
void
-Mount::unmount(const Glib::RefPtr<MountOperation>& mount_operation, MountUnmountFlags flags)
+Mount::unmount(const Glib::RefPtr<MountOperation>& mount_operation, UnmountFlags flags)
{
g_mount_unmount_with_operation(gobj(), GMountUnmountFlags(flags), Glib::unwrap(mount_operation),
nullptr, // cancellable
@@ -103,7 +103,7 @@ Mount::unmount(const Glib::RefPtr<MountOperation>& mount_operation, MountUnmount
void
Mount::remount(const Glib::RefPtr<MountOperation>& operation, const SlotAsyncReady& slot,
- const Glib::RefPtr<Cancellable>& cancellable, MountMountFlags flags)
+ const Glib::RefPtr<Cancellable>& cancellable, MountFlags flags)
{
// Create a copy of the slot.
// A pointer to it will be passed through the callback's data parameter
@@ -116,7 +116,7 @@ Mount::remount(const Glib::RefPtr<MountOperation>& operation, const SlotAsyncRea
void
Mount::remount(
- const Glib::RefPtr<MountOperation>& operation, const SlotAsyncReady& slot, MountMountFlags flags)
+ const Glib::RefPtr<MountOperation>& operation, const SlotAsyncReady& slot, MountFlags flags)
{
// Create a copy of the slot.
// A pointer to it will be passed through the callback's data parameter
@@ -128,21 +128,21 @@ Mount::remount(
}
void
-Mount::remount(const Glib::RefPtr<MountOperation>& operation, MountMountFlags flags)
+Mount::remount(const Glib::RefPtr<MountOperation>& operation, MountFlags flags)
{
g_mount_remount(gobj(), static_cast<GMountMountFlags>(flags), Glib::unwrap(operation), nullptr,
nullptr, nullptr);
}
void
-Mount::remount(MountMountFlags flags)
+Mount::remount(MountFlags flags)
{
g_mount_remount(gobj(), static_cast<GMountMountFlags>(flags), nullptr, nullptr, nullptr, nullptr);
}
void
Mount::eject(
- const SlotAsyncReady& slot, const Glib::RefPtr<Cancellable>& cancellable, MountUnmountFlags flags)
+ const SlotAsyncReady& slot, const Glib::RefPtr<Cancellable>& cancellable, UnmountFlags flags)
{
// Create a copy of the slot.
// A pointer to it will be passed through the callback's data parameter
@@ -155,7 +155,7 @@ Mount::eject(
}
void
-Mount::eject(const SlotAsyncReady& slot, MountUnmountFlags flags)
+Mount::eject(const SlotAsyncReady& slot, UnmountFlags flags)
{
// Create a copy of the slot.
// A pointer to it will be passed through the callback's data parameter
@@ -169,7 +169,7 @@ Mount::eject(const SlotAsyncReady& slot, MountUnmountFlags flags)
}
void
-Mount::eject(MountUnmountFlags flags)
+Mount::eject(UnmountFlags flags)
{
g_mount_eject_with_operation(gobj(), GMountUnmountFlags(flags),
nullptr, // mount_operation
@@ -180,7 +180,7 @@ Mount::eject(MountUnmountFlags flags)
void
Mount::eject(const Glib::RefPtr<MountOperation>& mount_operation, const SlotAsyncReady& slot,
- const Glib::RefPtr<Cancellable>& cancellable, MountUnmountFlags flags)
+ const Glib::RefPtr<Cancellable>& cancellable, UnmountFlags flags)
{
// Create a copy of the slot.
// A pointer to it will be passed through the callback's data parameter
@@ -193,7 +193,7 @@ Mount::eject(const Glib::RefPtr<MountOperation>& mount_operation, const SlotAsyn
void
Mount::eject(const Glib::RefPtr<MountOperation>& mount_operation, const SlotAsyncReady& slot,
- MountUnmountFlags flags)
+ UnmountFlags flags)
{
// Create a copy of the slot.
// A pointer to it will be passed through the callback's data parameter
@@ -206,7 +206,7 @@ Mount::eject(const Glib::RefPtr<MountOperation>& mount_operation, const SlotAsyn
}
void
-Mount::eject(const Glib::RefPtr<MountOperation>& mount_operation, MountUnmountFlags flags)
+Mount::eject(const Glib::RefPtr<MountOperation>& mount_operation, UnmountFlags flags)
{
g_mount_eject_with_operation(gobj(), GMountUnmountFlags(flags), Glib::unwrap(mount_operation),
nullptr, // cancellable