Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Represents a git remote callbacks.
Synopsis
- newtype RemoteCallbacks = RemoteCallbacks (ManagedPtr RemoteCallbacks)
- class (GObject o, IsDescendantOf RemoteCallbacks o) => IsRemoteCallbacks o
- toRemoteCallbacks :: (MonadIO m, IsRemoteCallbacks o) => o -> m RemoteCallbacks
- type C_RemoteCallbacksCompletionCallback = Ptr () -> CUInt -> Ptr () -> IO ()
- type RemoteCallbacksCompletionCallback = RemoteCompletionType -> IO ()
- afterRemoteCallbacksCompletion :: (IsRemoteCallbacks a, MonadIO m) => a -> RemoteCallbacksCompletionCallback -> m SignalHandlerId
- genClosure_RemoteCallbacksCompletion :: MonadIO m => RemoteCallbacksCompletionCallback -> m (GClosure C_RemoteCallbacksCompletionCallback)
- mk_RemoteCallbacksCompletionCallback :: C_RemoteCallbacksCompletionCallback -> IO (FunPtr C_RemoteCallbacksCompletionCallback)
- noRemoteCallbacksCompletionCallback :: Maybe RemoteCallbacksCompletionCallback
- onRemoteCallbacksCompletion :: (IsRemoteCallbacks a, MonadIO m) => a -> RemoteCallbacksCompletionCallback -> m SignalHandlerId
- wrap_RemoteCallbacksCompletionCallback :: RemoteCallbacksCompletionCallback -> C_RemoteCallbacksCompletionCallback
- type C_RemoteCallbacksProgressCallback = Ptr () -> CString -> Ptr () -> IO ()
- type RemoteCallbacksProgressCallback = Text -> IO ()
- afterRemoteCallbacksProgress :: (IsRemoteCallbacks a, MonadIO m) => a -> RemoteCallbacksProgressCallback -> m SignalHandlerId
- genClosure_RemoteCallbacksProgress :: MonadIO m => RemoteCallbacksProgressCallback -> m (GClosure C_RemoteCallbacksProgressCallback)
- mk_RemoteCallbacksProgressCallback :: C_RemoteCallbacksProgressCallback -> IO (FunPtr C_RemoteCallbacksProgressCallback)
- noRemoteCallbacksProgressCallback :: Maybe RemoteCallbacksProgressCallback
- onRemoteCallbacksProgress :: (IsRemoteCallbacks a, MonadIO m) => a -> RemoteCallbacksProgressCallback -> m SignalHandlerId
- wrap_RemoteCallbacksProgressCallback :: RemoteCallbacksProgressCallback -> C_RemoteCallbacksProgressCallback
- type C_RemoteCallbacksTransferProgressCallback = Ptr () -> Ptr TransferProgress -> Ptr () -> IO ()
- type RemoteCallbacksTransferProgressCallback = TransferProgress -> IO ()
- afterRemoteCallbacksTransferProgress :: (IsRemoteCallbacks a, MonadIO m) => a -> RemoteCallbacksTransferProgressCallback -> m SignalHandlerId
- genClosure_RemoteCallbacksTransferProgress :: MonadIO m => RemoteCallbacksTransferProgressCallback -> m (GClosure C_RemoteCallbacksTransferProgressCallback)
- mk_RemoteCallbacksTransferProgressCallback :: C_RemoteCallbacksTransferProgressCallback -> IO (FunPtr C_RemoteCallbacksTransferProgressCallback)
- noRemoteCallbacksTransferProgressCallback :: Maybe RemoteCallbacksTransferProgressCallback
- onRemoteCallbacksTransferProgress :: (IsRemoteCallbacks a, MonadIO m) => a -> RemoteCallbacksTransferProgressCallback -> m SignalHandlerId
- wrap_RemoteCallbacksTransferProgressCallback :: RemoteCallbacksTransferProgressCallback -> C_RemoteCallbacksTransferProgressCallback
- type C_RemoteCallbacksUpdateTipsCallback = Ptr () -> CString -> Ptr OId -> Ptr OId -> Ptr () -> IO ()
- type RemoteCallbacksUpdateTipsCallback = Text -> OId -> OId -> IO ()
- afterRemoteCallbacksUpdateTips :: (IsRemoteCallbacks a, MonadIO m) => a -> RemoteCallbacksUpdateTipsCallback -> m SignalHandlerId
- genClosure_RemoteCallbacksUpdateTips :: MonadIO m => RemoteCallbacksUpdateTipsCallback -> m (GClosure C_RemoteCallbacksUpdateTipsCallback)
- mk_RemoteCallbacksUpdateTipsCallback :: C_RemoteCallbacksUpdateTipsCallback -> IO (FunPtr C_RemoteCallbacksUpdateTipsCallback)
- noRemoteCallbacksUpdateTipsCallback :: Maybe RemoteCallbacksUpdateTipsCallback
- onRemoteCallbacksUpdateTips :: (IsRemoteCallbacks a, MonadIO m) => a -> RemoteCallbacksUpdateTipsCallback -> m SignalHandlerId
- wrap_RemoteCallbacksUpdateTipsCallback :: RemoteCallbacksUpdateTipsCallback -> C_RemoteCallbacksUpdateTipsCallback
Exported types
newtype RemoteCallbacks Source #
Memory-managed wrapper type.
RemoteCallbacks (ManagedPtr RemoteCallbacks) |
Instances
Eq RemoteCallbacks Source # | |
Defined in GI.Ggit.Objects.RemoteCallbacks (==) :: RemoteCallbacks -> RemoteCallbacks -> Bool # (/=) :: RemoteCallbacks -> RemoteCallbacks -> Bool # | |
GObject RemoteCallbacks Source # | |
Defined in GI.Ggit.Objects.RemoteCallbacks | |
ManagedPtrNewtype RemoteCallbacks Source # | |
Defined in GI.Ggit.Objects.RemoteCallbacks toManagedPtr :: RemoteCallbacks -> ManagedPtr RemoteCallbacks | |
TypedObject RemoteCallbacks Source # | |
Defined in GI.Ggit.Objects.RemoteCallbacks | |
HasParentTypes RemoteCallbacks Source # | |
Defined in GI.Ggit.Objects.RemoteCallbacks | |
IsGValue (Maybe RemoteCallbacks) Source # | Convert |
Defined in GI.Ggit.Objects.RemoteCallbacks gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe RemoteCallbacks -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe RemoteCallbacks) | |
type ParentTypes RemoteCallbacks Source # | |
Defined in GI.Ggit.Objects.RemoteCallbacks |
class (GObject o, IsDescendantOf RemoteCallbacks o) => IsRemoteCallbacks o Source #
Type class for types which can be safely cast to RemoteCallbacks
, for instance with toRemoteCallbacks
.
Instances
(GObject o, IsDescendantOf RemoteCallbacks o) => IsRemoteCallbacks o Source # | |
Defined in GI.Ggit.Objects.RemoteCallbacks |
toRemoteCallbacks :: (MonadIO m, IsRemoteCallbacks o) => o -> m RemoteCallbacks Source #
Cast to RemoteCallbacks
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getProperty, getQdata.
Setters
Signals
completion
type C_RemoteCallbacksCompletionCallback = Ptr () -> CUInt -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type RemoteCallbacksCompletionCallback = RemoteCompletionType -> IO () Source #
No description available in the introspection data.
afterRemoteCallbacksCompletion :: (IsRemoteCallbacks a, MonadIO m) => a -> RemoteCallbacksCompletionCallback -> m SignalHandlerId Source #
Connect a signal handler for the completion signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
remoteCallbacks #completion callback
genClosure_RemoteCallbacksCompletion :: MonadIO m => RemoteCallbacksCompletionCallback -> m (GClosure C_RemoteCallbacksCompletionCallback) Source #
Wrap the callback into a GClosure
.
mk_RemoteCallbacksCompletionCallback :: C_RemoteCallbacksCompletionCallback -> IO (FunPtr C_RemoteCallbacksCompletionCallback) Source #
Generate a function pointer callable from C code, from a C_RemoteCallbacksCompletionCallback
.
noRemoteCallbacksCompletionCallback :: Maybe RemoteCallbacksCompletionCallback Source #
A convenience synonym for
.Nothing
:: Maybe
RemoteCallbacksCompletionCallback
onRemoteCallbacksCompletion :: (IsRemoteCallbacks a, MonadIO m) => a -> RemoteCallbacksCompletionCallback -> m SignalHandlerId Source #
Connect a signal handler for the completion signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
remoteCallbacks #completion callback
wrap_RemoteCallbacksCompletionCallback :: RemoteCallbacksCompletionCallback -> C_RemoteCallbacksCompletionCallback Source #
progress
type C_RemoteCallbacksProgressCallback = Ptr () -> CString -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type RemoteCallbacksProgressCallback = Text -> IO () Source #
No description available in the introspection data.
afterRemoteCallbacksProgress :: (IsRemoteCallbacks a, MonadIO m) => a -> RemoteCallbacksProgressCallback -> m SignalHandlerId Source #
Connect a signal handler for the progress signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
remoteCallbacks #progress callback
genClosure_RemoteCallbacksProgress :: MonadIO m => RemoteCallbacksProgressCallback -> m (GClosure C_RemoteCallbacksProgressCallback) Source #
Wrap the callback into a GClosure
.
mk_RemoteCallbacksProgressCallback :: C_RemoteCallbacksProgressCallback -> IO (FunPtr C_RemoteCallbacksProgressCallback) Source #
Generate a function pointer callable from C code, from a C_RemoteCallbacksProgressCallback
.
noRemoteCallbacksProgressCallback :: Maybe RemoteCallbacksProgressCallback Source #
A convenience synonym for
.Nothing
:: Maybe
RemoteCallbacksProgressCallback
onRemoteCallbacksProgress :: (IsRemoteCallbacks a, MonadIO m) => a -> RemoteCallbacksProgressCallback -> m SignalHandlerId Source #
Connect a signal handler for the progress signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
remoteCallbacks #progress callback
wrap_RemoteCallbacksProgressCallback :: RemoteCallbacksProgressCallback -> C_RemoteCallbacksProgressCallback Source #
Wrap a RemoteCallbacksProgressCallback
into a C_RemoteCallbacksProgressCallback
.
transferProgress
type C_RemoteCallbacksTransferProgressCallback = Ptr () -> Ptr TransferProgress -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type RemoteCallbacksTransferProgressCallback = TransferProgress -> IO () Source #
No description available in the introspection data.
afterRemoteCallbacksTransferProgress :: (IsRemoteCallbacks a, MonadIO m) => a -> RemoteCallbacksTransferProgressCallback -> m SignalHandlerId Source #
Connect a signal handler for the transferProgress signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
remoteCallbacks #transferProgress callback
genClosure_RemoteCallbacksTransferProgress :: MonadIO m => RemoteCallbacksTransferProgressCallback -> m (GClosure C_RemoteCallbacksTransferProgressCallback) Source #
Wrap the callback into a GClosure
.
mk_RemoteCallbacksTransferProgressCallback :: C_RemoteCallbacksTransferProgressCallback -> IO (FunPtr C_RemoteCallbacksTransferProgressCallback) Source #
Generate a function pointer callable from C code, from a C_RemoteCallbacksTransferProgressCallback
.
noRemoteCallbacksTransferProgressCallback :: Maybe RemoteCallbacksTransferProgressCallback Source #
A convenience synonym for
.Nothing
:: Maybe
RemoteCallbacksTransferProgressCallback
onRemoteCallbacksTransferProgress :: (IsRemoteCallbacks a, MonadIO m) => a -> RemoteCallbacksTransferProgressCallback -> m SignalHandlerId Source #
Connect a signal handler for the transferProgress signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
remoteCallbacks #transferProgress callback
wrap_RemoteCallbacksTransferProgressCallback :: RemoteCallbacksTransferProgressCallback -> C_RemoteCallbacksTransferProgressCallback Source #
updateTips
type C_RemoteCallbacksUpdateTipsCallback = Ptr () -> CString -> Ptr OId -> Ptr OId -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type RemoteCallbacksUpdateTipsCallback = Text -> OId -> OId -> IO () Source #
No description available in the introspection data.
afterRemoteCallbacksUpdateTips :: (IsRemoteCallbacks a, MonadIO m) => a -> RemoteCallbacksUpdateTipsCallback -> m SignalHandlerId Source #
Connect a signal handler for the updateTips signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
remoteCallbacks #updateTips callback
genClosure_RemoteCallbacksUpdateTips :: MonadIO m => RemoteCallbacksUpdateTipsCallback -> m (GClosure C_RemoteCallbacksUpdateTipsCallback) Source #
Wrap the callback into a GClosure
.
mk_RemoteCallbacksUpdateTipsCallback :: C_RemoteCallbacksUpdateTipsCallback -> IO (FunPtr C_RemoteCallbacksUpdateTipsCallback) Source #
Generate a function pointer callable from C code, from a C_RemoteCallbacksUpdateTipsCallback
.
noRemoteCallbacksUpdateTipsCallback :: Maybe RemoteCallbacksUpdateTipsCallback Source #
A convenience synonym for
.Nothing
:: Maybe
RemoteCallbacksUpdateTipsCallback
onRemoteCallbacksUpdateTips :: (IsRemoteCallbacks a, MonadIO m) => a -> RemoteCallbacksUpdateTipsCallback -> m SignalHandlerId Source #
Connect a signal handler for the updateTips signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
remoteCallbacks #updateTips callback