gi-ggit-1.0.6: libgit2-glib bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Ggit.Objects.RemoteCallbacks

Contents

Description

Represents a git remote callbacks.

Synopsis

Exported types

newtype RemoteCallbacks Source #

Memory-managed wrapper type.

Constructors

RemoteCallbacks (ManagedPtr RemoteCallbacks) 
Instances
GObject RemoteCallbacks Source # 
Instance details

Defined in GI.Ggit.Objects.RemoteCallbacks

Methods

gobjectType :: IO GType

HasParentTypes RemoteCallbacks Source # 
Instance details

Defined in GI.Ggit.Objects.RemoteCallbacks

type ParentTypes RemoteCallbacks Source # 
Instance details

Defined in GI.Ggit.Objects.RemoteCallbacks

type ParentTypes RemoteCallbacks = Object ': ([] :: [Type])

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 # 
Instance details

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.

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

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

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

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

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 “transfer-progress” signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after remoteCallbacks #transferProgress callback

onRemoteCallbacksTransferProgress :: (IsRemoteCallbacks a, MonadIO m) => a -> RemoteCallbacksTransferProgressCallback -> m SignalHandlerId Source #

Connect a signal handler for the “transfer-progress” signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on remoteCallbacks #transferProgress callback

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 “update-tips” signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after remoteCallbacks #updateTips callback

onRemoteCallbacksUpdateTips :: (IsRemoteCallbacks a, MonadIO m) => a -> RemoteCallbacksUpdateTipsCallback -> m SignalHandlerId Source #

Connect a signal handler for the “update-tips” signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on remoteCallbacks #updateTips callback