Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- Exported types
- Methods
- mountCanEject
- mountCanUnmount
- mountEject
- mountEjectFinish
- mountEjectWithOperation
- mountEjectWithOperationFinish
- mountGetDefaultLocation
- mountGetDrive
- mountGetIcon
- mountGetName
- mountGetRoot
- mountGetSortKey
- mountGetSymbolicIcon
- mountGetUuid
- mountGetVolume
- mountGuessContentType
- mountGuessContentTypeFinish
- mountGuessContentTypeSync
- mountIsShadowed
- mountRemount
- mountRemountFinish
- mountShadow
- mountUnmount
- mountUnmountFinish
- mountUnmountWithOperation
- mountUnmountWithOperationFinish
- mountUnshadow
- Signals
- newtype Mount = Mount (ForeignPtr Mount)
- noMount :: Maybe Mount
- class GObject o => MountK o
- toMount :: MountK o => o -> IO Mount
- data MountCanEjectMethodInfo
- mountCanEject :: (MonadIO m, MountK a) => a -> m Bool
- data MountCanUnmountMethodInfo
- mountCanUnmount :: (MonadIO m, MountK a) => a -> m Bool
- data MountEjectMethodInfo
- mountEject :: (MonadIO m, MountK a, CancellableK b) => a -> [MountUnmountFlags] -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- data MountEjectFinishMethodInfo
- mountEjectFinish :: (MonadIO m, MountK a, AsyncResultK b) => a -> b -> m ()
- data MountEjectWithOperationMethodInfo
- mountEjectWithOperation :: (MonadIO m, MountK a, MountOperationK b, CancellableK c) => a -> [MountUnmountFlags] -> Maybe b -> Maybe c -> Maybe AsyncReadyCallback -> m ()
- data MountEjectWithOperationFinishMethodInfo
- mountEjectWithOperationFinish :: (MonadIO m, MountK a, AsyncResultK b) => a -> b -> m ()
- data MountGetDefaultLocationMethodInfo
- mountGetDefaultLocation :: (MonadIO m, MountK a) => a -> m File
- data MountGetDriveMethodInfo
- mountGetDrive :: (MonadIO m, MountK a) => a -> m Drive
- data MountGetIconMethodInfo
- mountGetIcon :: (MonadIO m, MountK a) => a -> m Icon
- data MountGetNameMethodInfo
- mountGetName :: (MonadIO m, MountK a) => a -> m Text
- data MountGetRootMethodInfo
- mountGetRoot :: (MonadIO m, MountK a) => a -> m File
- data MountGetSortKeyMethodInfo
- mountGetSortKey :: (MonadIO m, MountK a) => a -> m Text
- data MountGetSymbolicIconMethodInfo
- mountGetSymbolicIcon :: (MonadIO m, MountK a) => a -> m Icon
- data MountGetUuidMethodInfo
- mountGetUuid :: (MonadIO m, MountK a) => a -> m Text
- data MountGetVolumeMethodInfo
- mountGetVolume :: (MonadIO m, MountK a) => a -> m Volume
- data MountGuessContentTypeMethodInfo
- mountGuessContentType :: (MonadIO m, MountK a, CancellableK b) => a -> Bool -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- data MountGuessContentTypeFinishMethodInfo
- mountGuessContentTypeFinish :: (MonadIO m, MountK a, AsyncResultK b) => a -> b -> m [Text]
- data MountGuessContentTypeSyncMethodInfo
- mountGuessContentTypeSync :: (MonadIO m, MountK a, CancellableK b) => a -> Bool -> Maybe b -> m [Text]
- data MountIsShadowedMethodInfo
- mountIsShadowed :: (MonadIO m, MountK a) => a -> m Bool
- data MountRemountMethodInfo
- mountRemount :: (MonadIO m, MountK a, MountOperationK b, CancellableK c) => a -> [MountMountFlags] -> Maybe b -> Maybe c -> Maybe AsyncReadyCallback -> m ()
- data MountRemountFinishMethodInfo
- mountRemountFinish :: (MonadIO m, MountK a, AsyncResultK b) => a -> b -> m ()
- data MountShadowMethodInfo
- mountShadow :: (MonadIO m, MountK a) => a -> m ()
- data MountUnmountMethodInfo
- mountUnmount :: (MonadIO m, MountK a, CancellableK b) => a -> [MountUnmountFlags] -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- data MountUnmountFinishMethodInfo
- mountUnmountFinish :: (MonadIO m, MountK a, AsyncResultK b) => a -> b -> m ()
- data MountUnmountWithOperationMethodInfo
- mountUnmountWithOperation :: (MonadIO m, MountK a, MountOperationK b, CancellableK c) => a -> [MountUnmountFlags] -> Maybe b -> Maybe c -> Maybe AsyncReadyCallback -> m ()
- data MountUnmountWithOperationFinishMethodInfo
- mountUnmountWithOperationFinish :: (MonadIO m, MountK a, AsyncResultK b) => a -> b -> m ()
- data MountUnshadowMethodInfo
- mountUnshadow :: (MonadIO m, MountK a) => a -> m ()
- type MountChangedCallback = IO ()
- type MountChangedCallbackC = Ptr () -> Ptr () -> IO ()
- data MountChangedSignalInfo
- afterMountChanged :: (GObject a, MonadIO m) => a -> MountChangedCallback -> m SignalHandlerId
- mkMountChangedCallback :: MountChangedCallbackC -> IO (FunPtr MountChangedCallbackC)
- mountChangedCallbackWrapper :: MountChangedCallback -> Ptr () -> Ptr () -> IO ()
- mountChangedClosure :: MountChangedCallback -> IO Closure
- noMountChangedCallback :: Maybe MountChangedCallback
- onMountChanged :: (GObject a, MonadIO m) => a -> MountChangedCallback -> m SignalHandlerId
- type MountPreUnmountCallback = IO ()
- type MountPreUnmountCallbackC = Ptr () -> Ptr () -> IO ()
- data MountPreUnmountSignalInfo
- afterMountPreUnmount :: (GObject a, MonadIO m) => a -> MountPreUnmountCallback -> m SignalHandlerId
- mkMountPreUnmountCallback :: MountPreUnmountCallbackC -> IO (FunPtr MountPreUnmountCallbackC)
- mountPreUnmountCallbackWrapper :: MountPreUnmountCallback -> Ptr () -> Ptr () -> IO ()
- mountPreUnmountClosure :: MountPreUnmountCallback -> IO Closure
- noMountPreUnmountCallback :: Maybe MountPreUnmountCallback
- onMountPreUnmount :: (GObject a, MonadIO m) => a -> MountPreUnmountCallback -> m SignalHandlerId
- type MountUnmountedCallback = IO ()
- type MountUnmountedCallbackC = Ptr () -> Ptr () -> IO ()
- data MountUnmountedSignalInfo
- afterMountUnmounted :: (GObject a, MonadIO m) => a -> MountUnmountedCallback -> m SignalHandlerId
- mkMountUnmountedCallback :: MountUnmountedCallbackC -> IO (FunPtr MountUnmountedCallbackC)
- mountUnmountedCallbackWrapper :: MountUnmountedCallback -> Ptr () -> Ptr () -> IO ()
- mountUnmountedClosure :: MountUnmountedCallback -> IO Closure
- noMountUnmountedCallback :: Maybe MountUnmountedCallback
- onMountUnmounted :: (GObject a, MonadIO m) => a -> MountUnmountedCallback -> m SignalHandlerId
Exported types
GObject Mount | |
((~) * info (ResolveMountMethod t Mount), MethodInfo * info Mount p) => IsLabelProxy t (Mount -> p) | |
type ParentTypes Mount | |
type AttributeList Mount | |
type SignalList Mount |
Methods
mountCanEject
data MountCanEjectMethodInfo Source
((~) * signature (m Bool), MonadIO m, MountK a) => MethodInfo * MountCanEjectMethodInfo a signature |
mountCanEject :: (MonadIO m, MountK a) => a -> m Bool Source
mountCanUnmount
data MountCanUnmountMethodInfo Source
((~) * signature (m Bool), MonadIO m, MountK a) => MethodInfo * MountCanUnmountMethodInfo a signature |
mountCanUnmount :: (MonadIO m, MountK a) => a -> m Bool Source
mountEject
data MountEjectMethodInfo Source
((~) * signature ([MountUnmountFlags] -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, MountK a, CancellableK b) => MethodInfo * MountEjectMethodInfo a signature |
mountEject :: (MonadIO m, MountK a, CancellableK b) => a -> [MountUnmountFlags] -> Maybe b -> Maybe AsyncReadyCallback -> m () Source
Deprecated: (Since version 2.22)Use g_mount_eject_with_operation() instead.
mountEjectFinish
data MountEjectFinishMethodInfo Source
((~) * signature (b -> m ()), MonadIO m, MountK a, AsyncResultK b) => MethodInfo * MountEjectFinishMethodInfo a signature |
mountEjectFinish :: (MonadIO m, MountK a, AsyncResultK b) => a -> b -> m () Source
Deprecated: (Since version 2.22)Use g_mount_eject_with_operation_finish() instead.
mountEjectWithOperation
data MountEjectWithOperationMethodInfo Source
((~) * signature ([MountUnmountFlags] -> Maybe b -> Maybe c -> Maybe AsyncReadyCallback -> m ()), MonadIO m, MountK a, MountOperationK b, CancellableK c) => MethodInfo * MountEjectWithOperationMethodInfo a signature |
mountEjectWithOperation :: (MonadIO m, MountK a, MountOperationK b, CancellableK c) => a -> [MountUnmountFlags] -> Maybe b -> Maybe c -> Maybe AsyncReadyCallback -> m () Source
mountEjectWithOperationFinish
data MountEjectWithOperationFinishMethodInfo Source
((~) * signature (b -> m ()), MonadIO m, MountK a, AsyncResultK b) => MethodInfo * MountEjectWithOperationFinishMethodInfo a signature |
mountEjectWithOperationFinish :: (MonadIO m, MountK a, AsyncResultK b) => a -> b -> m () Source
mountGetDefaultLocation
data MountGetDefaultLocationMethodInfo Source
((~) * signature (m File), MonadIO m, MountK a) => MethodInfo * MountGetDefaultLocationMethodInfo a signature |
mountGetDefaultLocation :: (MonadIO m, MountK a) => a -> m File Source
mountGetDrive
data MountGetDriveMethodInfo Source
((~) * signature (m Drive), MonadIO m, MountK a) => MethodInfo * MountGetDriveMethodInfo a signature |
mountGetDrive :: (MonadIO m, MountK a) => a -> m Drive Source
mountGetIcon
data MountGetIconMethodInfo Source
((~) * signature (m Icon), MonadIO m, MountK a) => MethodInfo * MountGetIconMethodInfo a signature |
mountGetIcon :: (MonadIO m, MountK a) => a -> m Icon Source
mountGetName
data MountGetNameMethodInfo Source
((~) * signature (m Text), MonadIO m, MountK a) => MethodInfo * MountGetNameMethodInfo a signature |
mountGetName :: (MonadIO m, MountK a) => a -> m Text Source
mountGetRoot
data MountGetRootMethodInfo Source
((~) * signature (m File), MonadIO m, MountK a) => MethodInfo * MountGetRootMethodInfo a signature |
mountGetRoot :: (MonadIO m, MountK a) => a -> m File Source
mountGetSortKey
data MountGetSortKeyMethodInfo Source
((~) * signature (m Text), MonadIO m, MountK a) => MethodInfo * MountGetSortKeyMethodInfo a signature |
mountGetSortKey :: (MonadIO m, MountK a) => a -> m Text Source
mountGetSymbolicIcon
data MountGetSymbolicIconMethodInfo Source
((~) * signature (m Icon), MonadIO m, MountK a) => MethodInfo * MountGetSymbolicIconMethodInfo a signature |
mountGetSymbolicIcon :: (MonadIO m, MountK a) => a -> m Icon Source
mountGetUuid
data MountGetUuidMethodInfo Source
((~) * signature (m Text), MonadIO m, MountK a) => MethodInfo * MountGetUuidMethodInfo a signature |
mountGetUuid :: (MonadIO m, MountK a) => a -> m Text Source
mountGetVolume
data MountGetVolumeMethodInfo Source
((~) * signature (m Volume), MonadIO m, MountK a) => MethodInfo * MountGetVolumeMethodInfo a signature |
mountGetVolume :: (MonadIO m, MountK a) => a -> m Volume Source
mountGuessContentType
data MountGuessContentTypeMethodInfo Source
((~) * signature (Bool -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, MountK a, CancellableK b) => MethodInfo * MountGuessContentTypeMethodInfo a signature |
mountGuessContentType :: (MonadIO m, MountK a, CancellableK b) => a -> Bool -> Maybe b -> Maybe AsyncReadyCallback -> m () Source
mountGuessContentTypeFinish
data MountGuessContentTypeFinishMethodInfo Source
((~) * signature (b -> m [Text]), MonadIO m, MountK a, AsyncResultK b) => MethodInfo * MountGuessContentTypeFinishMethodInfo a signature |
mountGuessContentTypeFinish :: (MonadIO m, MountK a, AsyncResultK b) => a -> b -> m [Text] Source
mountGuessContentTypeSync
data MountGuessContentTypeSyncMethodInfo Source
((~) * signature (Bool -> Maybe b -> m [Text]), MonadIO m, MountK a, CancellableK b) => MethodInfo * MountGuessContentTypeSyncMethodInfo a signature |
mountGuessContentTypeSync :: (MonadIO m, MountK a, CancellableK b) => a -> Bool -> Maybe b -> m [Text] Source
mountIsShadowed
data MountIsShadowedMethodInfo Source
((~) * signature (m Bool), MonadIO m, MountK a) => MethodInfo * MountIsShadowedMethodInfo a signature |
mountIsShadowed :: (MonadIO m, MountK a) => a -> m Bool Source
mountRemount
data MountRemountMethodInfo Source
((~) * signature ([MountMountFlags] -> Maybe b -> Maybe c -> Maybe AsyncReadyCallback -> m ()), MonadIO m, MountK a, MountOperationK b, CancellableK c) => MethodInfo * MountRemountMethodInfo a signature |
mountRemount :: (MonadIO m, MountK a, MountOperationK b, CancellableK c) => a -> [MountMountFlags] -> Maybe b -> Maybe c -> Maybe AsyncReadyCallback -> m () Source
mountRemountFinish
data MountRemountFinishMethodInfo Source
((~) * signature (b -> m ()), MonadIO m, MountK a, AsyncResultK b) => MethodInfo * MountRemountFinishMethodInfo a signature |
mountRemountFinish :: (MonadIO m, MountK a, AsyncResultK b) => a -> b -> m () Source
mountShadow
data MountShadowMethodInfo Source
((~) * signature (m ()), MonadIO m, MountK a) => MethodInfo * MountShadowMethodInfo a signature |
mountShadow :: (MonadIO m, MountK a) => a -> m () Source
mountUnmount
data MountUnmountMethodInfo Source
((~) * signature ([MountUnmountFlags] -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, MountK a, CancellableK b) => MethodInfo * MountUnmountMethodInfo a signature |
mountUnmount :: (MonadIO m, MountK a, CancellableK b) => a -> [MountUnmountFlags] -> Maybe b -> Maybe AsyncReadyCallback -> m () Source
Deprecated: (Since version 2.22)Use g_mount_unmount_with_operation() instead.
mountUnmountFinish
data MountUnmountFinishMethodInfo Source
((~) * signature (b -> m ()), MonadIO m, MountK a, AsyncResultK b) => MethodInfo * MountUnmountFinishMethodInfo a signature |
mountUnmountFinish :: (MonadIO m, MountK a, AsyncResultK b) => a -> b -> m () Source
Deprecated: (Since version 2.22)Use g_mount_unmount_with_operation_finish() instead.
mountUnmountWithOperation
data MountUnmountWithOperationMethodInfo Source
((~) * signature ([MountUnmountFlags] -> Maybe b -> Maybe c -> Maybe AsyncReadyCallback -> m ()), MonadIO m, MountK a, MountOperationK b, CancellableK c) => MethodInfo * MountUnmountWithOperationMethodInfo a signature |
mountUnmountWithOperation :: (MonadIO m, MountK a, MountOperationK b, CancellableK c) => a -> [MountUnmountFlags] -> Maybe b -> Maybe c -> Maybe AsyncReadyCallback -> m () Source
mountUnmountWithOperationFinish
data MountUnmountWithOperationFinishMethodInfo Source
((~) * signature (b -> m ()), MonadIO m, MountK a, AsyncResultK b) => MethodInfo * MountUnmountWithOperationFinishMethodInfo a signature |
mountUnmountWithOperationFinish :: (MonadIO m, MountK a, AsyncResultK b) => a -> b -> m () Source
mountUnshadow
data MountUnshadowMethodInfo Source
((~) * signature (m ()), MonadIO m, MountK a) => MethodInfo * MountUnshadowMethodInfo a signature |
mountUnshadow :: (MonadIO m, MountK a) => a -> m () Source
Signals
Changed
type MountChangedCallback = IO () Source
type MountChangedCallbackC = Ptr () -> Ptr () -> IO () Source
afterMountChanged :: (GObject a, MonadIO m) => a -> MountChangedCallback -> m SignalHandlerId Source
mountChangedCallbackWrapper :: MountChangedCallback -> Ptr () -> Ptr () -> IO () Source
onMountChanged :: (GObject a, MonadIO m) => a -> MountChangedCallback -> m SignalHandlerId Source
PreUnmount
type MountPreUnmountCallback = IO () Source
type MountPreUnmountCallbackC = Ptr () -> Ptr () -> IO () Source
afterMountPreUnmount :: (GObject a, MonadIO m) => a -> MountPreUnmountCallback -> m SignalHandlerId Source
mkMountPreUnmountCallback :: MountPreUnmountCallbackC -> IO (FunPtr MountPreUnmountCallbackC) Source
mountPreUnmountCallbackWrapper :: MountPreUnmountCallback -> Ptr () -> Ptr () -> IO () Source
onMountPreUnmount :: (GObject a, MonadIO m) => a -> MountPreUnmountCallback -> m SignalHandlerId Source
Unmounted
type MountUnmountedCallback = IO () Source
type MountUnmountedCallbackC = Ptr () -> Ptr () -> IO () Source
afterMountUnmounted :: (GObject a, MonadIO m) => a -> MountUnmountedCallback -> m SignalHandlerId Source
mountUnmountedCallbackWrapper :: MountUnmountedCallback -> Ptr () -> Ptr () -> IO () Source
onMountUnmounted :: (GObject a, MonadIO m) => a -> MountUnmountedCallback -> m SignalHandlerId Source