Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- type BaseEffectTimeTranslationFunc = BaseEffect -> Word64 -> Map Text GValue -> IO Word64
- type BaseEffectTimeTranslationFunc_WithClosures = BaseEffect -> Word64 -> Map Text GValue -> Ptr () -> IO Word64
- type C_BaseEffectTimeTranslationFunc = Ptr BaseEffect -> Word64 -> Ptr (GHashTable CString (Ptr GValue)) -> Ptr () -> IO Word64
- drop_closures_BaseEffectTimeTranslationFunc :: BaseEffectTimeTranslationFunc -> BaseEffectTimeTranslationFunc_WithClosures
- dynamic_BaseEffectTimeTranslationFunc :: (HasCallStack, MonadIO m, IsBaseEffect a) => FunPtr C_BaseEffectTimeTranslationFunc -> a -> Word64 -> Map Text GValue -> Ptr () -> m Word64
- genClosure_BaseEffectTimeTranslationFunc :: MonadIO m => BaseEffectTimeTranslationFunc -> m (GClosure C_BaseEffectTimeTranslationFunc)
- mk_BaseEffectTimeTranslationFunc :: C_BaseEffectTimeTranslationFunc -> IO (FunPtr C_BaseEffectTimeTranslationFunc)
- noBaseEffectTimeTranslationFunc :: Maybe BaseEffectTimeTranslationFunc
- noBaseEffectTimeTranslationFunc_WithClosures :: Maybe BaseEffectTimeTranslationFunc_WithClosures
- wrap_BaseEffectTimeTranslationFunc :: Maybe (Ptr (FunPtr C_BaseEffectTimeTranslationFunc)) -> BaseEffectTimeTranslationFunc_WithClosures -> C_BaseEffectTimeTranslationFunc
- type C_CreateTrackElementFunc = Ptr Clip -> CUInt -> IO (Ptr TrackElement)
- type CreateTrackElementFunc = Clip -> [TrackType] -> IO (Maybe TrackElement)
- dynamic_CreateTrackElementFunc :: (HasCallStack, MonadIO m, IsClip a) => FunPtr C_CreateTrackElementFunc -> a -> [TrackType] -> m (Maybe TrackElement)
- genClosure_CreateTrackElementFunc :: MonadIO m => CreateTrackElementFunc -> m (GClosure C_CreateTrackElementFunc)
- mk_CreateTrackElementFunc :: C_CreateTrackElementFunc -> IO (FunPtr C_CreateTrackElementFunc)
- noCreateTrackElementFunc :: Maybe CreateTrackElementFunc
- wrap_CreateTrackElementFunc :: Maybe (Ptr (FunPtr C_CreateTrackElementFunc)) -> CreateTrackElementFunc -> C_CreateTrackElementFunc
- type C_CreateTrackElementsFunc = Ptr Clip -> CUInt -> IO (Ptr (GList (Ptr TrackElement)))
- type CreateTrackElementsFunc = Clip -> [TrackType] -> IO [TrackElement]
- dynamic_CreateTrackElementsFunc :: (HasCallStack, MonadIO m, IsClip a) => FunPtr C_CreateTrackElementsFunc -> a -> [TrackType] -> m [TrackElement]
- genClosure_CreateTrackElementsFunc :: MonadIO m => CreateTrackElementsFunc -> m (GClosure C_CreateTrackElementsFunc)
- mk_CreateTrackElementsFunc :: C_CreateTrackElementsFunc -> IO (FunPtr C_CreateTrackElementsFunc)
- noCreateTrackElementsFunc :: Maybe CreateTrackElementsFunc
- wrap_CreateTrackElementsFunc :: Maybe (Ptr (FunPtr C_CreateTrackElementsFunc)) -> CreateTrackElementsFunc -> C_CreateTrackElementsFunc
- type C_ExtractableCheckId = CGType -> CString -> Ptr (Ptr GError) -> IO CString
- type ExtractableCheckId = GType -> Text -> IO Text
- dynamic_ExtractableCheckId :: (HasCallStack, MonadIO m) => FunPtr C_ExtractableCheckId -> GType -> Text -> m Text
- mk_ExtractableCheckId :: C_ExtractableCheckId -> IO (FunPtr C_ExtractableCheckId)
- noExtractableCheckId :: Maybe ExtractableCheckId
- type C_FillTrackElementFunc = Ptr Clip -> Ptr TrackElement -> Ptr Element -> IO CInt
- type FillTrackElementFunc = Clip -> TrackElement -> Element -> IO Bool
- dynamic_FillTrackElementFunc :: (HasCallStack, MonadIO m, IsClip a, IsTrackElement b, IsElement c) => FunPtr C_FillTrackElementFunc -> a -> b -> c -> m Bool
- genClosure_FillTrackElementFunc :: MonadIO m => FillTrackElementFunc -> m (GClosure C_FillTrackElementFunc)
- mk_FillTrackElementFunc :: C_FillTrackElementFunc -> IO (FunPtr C_FillTrackElementFunc)
- noFillTrackElementFunc :: Maybe FillTrackElementFunc
- wrap_FillTrackElementFunc :: Maybe (Ptr (FunPtr C_FillTrackElementFunc)) -> FillTrackElementFunc -> C_FillTrackElementFunc
- type C_FormatterCanLoadURIMethod = Ptr Formatter -> CString -> Ptr (Ptr GError) -> IO CInt
- type FormatterCanLoadURIMethod = Formatter -> Text -> IO ()
- dynamic_FormatterCanLoadURIMethod :: (HasCallStack, MonadIO m, IsFormatter a) => FunPtr C_FormatterCanLoadURIMethod -> a -> Text -> m ()
- mk_FormatterCanLoadURIMethod :: C_FormatterCanLoadURIMethod -> IO (FunPtr C_FormatterCanLoadURIMethod)
- noFormatterCanLoadURIMethod :: Maybe FormatterCanLoadURIMethod
- type C_FormatterLoadFromURIMethod = Ptr Formatter -> Ptr Timeline -> CString -> Ptr (Ptr GError) -> IO CInt
- type FormatterLoadFromURIMethod = Formatter -> Timeline -> Text -> IO ()
- dynamic_FormatterLoadFromURIMethod :: (HasCallStack, MonadIO m, IsFormatter a, IsTimeline b) => FunPtr C_FormatterLoadFromURIMethod -> a -> b -> Text -> m ()
- mk_FormatterLoadFromURIMethod :: C_FormatterLoadFromURIMethod -> IO (FunPtr C_FormatterLoadFromURIMethod)
- noFormatterLoadFromURIMethod :: Maybe FormatterLoadFromURIMethod
- type C_FormatterSaveToURIMethod = Ptr Formatter -> Ptr Timeline -> CString -> CInt -> Ptr (Ptr GError) -> IO CInt
- type FormatterSaveToURIMethod = Formatter -> Timeline -> Text -> Bool -> IO ()
- dynamic_FormatterSaveToURIMethod :: (HasCallStack, MonadIO m, IsFormatter a, IsTimeline b) => FunPtr C_FormatterSaveToURIMethod -> a -> b -> Text -> Bool -> m ()
- mk_FormatterSaveToURIMethod :: C_FormatterSaveToURIMethod -> IO (FunPtr C_FormatterSaveToURIMethod)
- noFormatterSaveToURIMethod :: Maybe FormatterSaveToURIMethod
- type C_MetaForeachFunc = Ptr MetaContainer -> CString -> Ptr GValue -> Ptr () -> IO ()
- type MetaForeachFunc = MetaContainer -> Text -> GValue -> IO ()
- type MetaForeachFunc_WithClosures = MetaContainer -> Text -> GValue -> Ptr () -> IO ()
- drop_closures_MetaForeachFunc :: MetaForeachFunc -> MetaForeachFunc_WithClosures
- dynamic_MetaForeachFunc :: (HasCallStack, MonadIO m, IsMetaContainer a) => FunPtr C_MetaForeachFunc -> a -> Text -> GValue -> Ptr () -> m ()
- genClosure_MetaForeachFunc :: MonadIO m => MetaForeachFunc -> m (GClosure C_MetaForeachFunc)
- mk_MetaForeachFunc :: C_MetaForeachFunc -> IO (FunPtr C_MetaForeachFunc)
- noMetaForeachFunc :: Maybe MetaForeachFunc
- noMetaForeachFunc_WithClosures :: Maybe MetaForeachFunc_WithClosures
- wrap_MetaForeachFunc :: Maybe (Ptr (FunPtr C_MetaForeachFunc)) -> MetaForeachFunc_WithClosures -> C_MetaForeachFunc
Signals
BaseEffectTimeTranslationFunc
type BaseEffectTimeTranslationFunc Source #
= BaseEffect |
|
-> Word64 |
|
-> Map Text GValue |
|
-> IO Word64 | Returns: The translated time. |
A function for querying how an effect would translate a time if it had
the given child property values set. The keys for timeProperties
will
be the same string that was passed to
baseEffectRegisterTimeProperty
, the values will be Value
*
values of the corresponding child properties. You should always use the
values given in timeProperties
before using the currently set values.
Since: 1.18
type BaseEffectTimeTranslationFunc_WithClosures Source #
= BaseEffect |
|
-> Word64 |
|
-> Map Text GValue |
|
-> Ptr () |
|
-> IO Word64 | Returns: The translated time. |
A function for querying how an effect would translate a time if it had
the given child property values set. The keys for timeProperties
will
be the same string that was passed to
baseEffectRegisterTimeProperty
, the values will be Value
*
values of the corresponding child properties. You should always use the
values given in timeProperties
before using the currently set values.
Since: 1.18
type C_BaseEffectTimeTranslationFunc = Ptr BaseEffect -> Word64 -> Ptr (GHashTable CString (Ptr GValue)) -> Ptr () -> IO Word64 Source #
Type for the callback on the (unwrapped) C side.
drop_closures_BaseEffectTimeTranslationFunc :: BaseEffectTimeTranslationFunc -> BaseEffectTimeTranslationFunc_WithClosures Source #
A simple wrapper that ignores the closure arguments.
dynamic_BaseEffectTimeTranslationFunc Source #
:: (HasCallStack, MonadIO m, IsBaseEffect a) | |
=> FunPtr C_BaseEffectTimeTranslationFunc | |
-> a |
|
-> Word64 |
|
-> Map Text GValue |
|
-> Ptr () |
|
-> m Word64 | Returns: The translated time. |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_BaseEffectTimeTranslationFunc :: MonadIO m => BaseEffectTimeTranslationFunc -> m (GClosure C_BaseEffectTimeTranslationFunc) Source #
Wrap the callback into a GClosure
.
mk_BaseEffectTimeTranslationFunc :: C_BaseEffectTimeTranslationFunc -> IO (FunPtr C_BaseEffectTimeTranslationFunc) Source #
Generate a function pointer callable from C code, from a C_BaseEffectTimeTranslationFunc
.
noBaseEffectTimeTranslationFunc :: Maybe BaseEffectTimeTranslationFunc Source #
A convenience synonym for
.Nothing
:: Maybe
BaseEffectTimeTranslationFunc
noBaseEffectTimeTranslationFunc_WithClosures :: Maybe BaseEffectTimeTranslationFunc_WithClosures Source #
A convenience synonym for
.Nothing
:: Maybe
BaseEffectTimeTranslationFunc_WithClosures
wrap_BaseEffectTimeTranslationFunc :: Maybe (Ptr (FunPtr C_BaseEffectTimeTranslationFunc)) -> BaseEffectTimeTranslationFunc_WithClosures -> C_BaseEffectTimeTranslationFunc Source #
Wrap a BaseEffectTimeTranslationFunc
into a C_BaseEffectTimeTranslationFunc
.
CreateTrackElementFunc
type C_CreateTrackElementFunc = Ptr Clip -> CUInt -> IO (Ptr TrackElement) Source #
Type for the callback on the (unwrapped) C side.
type CreateTrackElementFunc Source #
= Clip |
|
-> [TrackType] |
|
-> IO (Maybe TrackElement) | Returns: The |
A method for creating the core TrackElement
of a clip, to be added
to a Track
of the given track type.
If a clip may produce several track elements per track type,
CreateTrackElementsFunc
is more appropriate.
dynamic_CreateTrackElementFunc Source #
:: (HasCallStack, MonadIO m, IsClip a) | |
=> FunPtr C_CreateTrackElementFunc | |
-> a |
|
-> [TrackType] |
|
-> m (Maybe TrackElement) | Returns: The |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_CreateTrackElementFunc :: MonadIO m => CreateTrackElementFunc -> m (GClosure C_CreateTrackElementFunc) Source #
Wrap the callback into a GClosure
.
mk_CreateTrackElementFunc :: C_CreateTrackElementFunc -> IO (FunPtr C_CreateTrackElementFunc) Source #
Generate a function pointer callable from C code, from a C_CreateTrackElementFunc
.
noCreateTrackElementFunc :: Maybe CreateTrackElementFunc Source #
A convenience synonym for
.Nothing
:: Maybe
CreateTrackElementFunc
wrap_CreateTrackElementFunc :: Maybe (Ptr (FunPtr C_CreateTrackElementFunc)) -> CreateTrackElementFunc -> C_CreateTrackElementFunc Source #
Wrap a CreateTrackElementFunc
into a C_CreateTrackElementFunc
.
CreateTrackElementsFunc
type C_CreateTrackElementsFunc = Ptr Clip -> CUInt -> IO (Ptr (GList (Ptr TrackElement))) Source #
Type for the callback on the (unwrapped) C side.
type CreateTrackElementsFunc Source #
= Clip |
|
-> [TrackType] |
|
-> IO [TrackElement] | Returns: A list of
the |
A method for creating the core TrackElement
-s of a clip, to be
added to Track
-s of the given track type.
dynamic_CreateTrackElementsFunc Source #
:: (HasCallStack, MonadIO m, IsClip a) | |
=> FunPtr C_CreateTrackElementsFunc | |
-> a |
|
-> [TrackType] |
|
-> m [TrackElement] | Returns: A list of
the |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_CreateTrackElementsFunc :: MonadIO m => CreateTrackElementsFunc -> m (GClosure C_CreateTrackElementsFunc) Source #
Wrap the callback into a GClosure
.
mk_CreateTrackElementsFunc :: C_CreateTrackElementsFunc -> IO (FunPtr C_CreateTrackElementsFunc) Source #
Generate a function pointer callable from C code, from a C_CreateTrackElementsFunc
.
noCreateTrackElementsFunc :: Maybe CreateTrackElementsFunc Source #
A convenience synonym for
.Nothing
:: Maybe
CreateTrackElementsFunc
wrap_CreateTrackElementsFunc :: Maybe (Ptr (FunPtr C_CreateTrackElementsFunc)) -> CreateTrackElementsFunc -> C_CreateTrackElementsFunc Source #
Wrap a CreateTrackElementsFunc
into a C_CreateTrackElementsFunc
.
ExtractableCheckId
type C_ExtractableCheckId = CGType -> CString -> Ptr (Ptr GError) -> IO CString Source #
Type for the callback on the (unwrapped) C side.
type ExtractableCheckId Source #
= GType |
|
-> Text |
|
-> IO Text | (Can throw |
Method for checking that an ID is valid for the given Extractable
type. If the given ID is considered valid, it can be adjusted into some
standard and returned to prevent the creation of separate Asset
-s,
with different Asset:id, that would otherwise act the same.
Returns (transfer full) (nullable): The actual Asset:id to set on
any corresponding assets, based on id
, or Nothing
if id
is not valid.
dynamic_ExtractableCheckId Source #
:: (HasCallStack, MonadIO m) | |
=> FunPtr C_ExtractableCheckId | |
-> GType |
|
-> Text |
|
-> m Text | (Can throw |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
mk_ExtractableCheckId :: C_ExtractableCheckId -> IO (FunPtr C_ExtractableCheckId) Source #
Generate a function pointer callable from C code, from a C_ExtractableCheckId
.
noExtractableCheckId :: Maybe ExtractableCheckId Source #
A convenience synonym for
.Nothing
:: Maybe
ExtractableCheckId
FillTrackElementFunc
type C_FillTrackElementFunc = Ptr Clip -> Ptr TrackElement -> Ptr Element -> IO CInt Source #
Type for the callback on the (unwrapped) C side.
type FillTrackElementFunc Source #
= Clip |
|
-> TrackElement |
|
-> Element |
|
-> IO Bool | Returns: |
dynamic_FillTrackElementFunc Source #
:: (HasCallStack, MonadIO m, IsClip a, IsTrackElement b, IsElement c) | |
=> FunPtr C_FillTrackElementFunc | |
-> a |
|
-> b |
|
-> c |
|
-> m Bool | Returns: |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_FillTrackElementFunc :: MonadIO m => FillTrackElementFunc -> m (GClosure C_FillTrackElementFunc) Source #
Wrap the callback into a GClosure
.
mk_FillTrackElementFunc :: C_FillTrackElementFunc -> IO (FunPtr C_FillTrackElementFunc) Source #
Generate a function pointer callable from C code, from a C_FillTrackElementFunc
.
noFillTrackElementFunc :: Maybe FillTrackElementFunc Source #
A convenience synonym for
.Nothing
:: Maybe
FillTrackElementFunc
wrap_FillTrackElementFunc :: Maybe (Ptr (FunPtr C_FillTrackElementFunc)) -> FillTrackElementFunc -> C_FillTrackElementFunc Source #
Wrap a FillTrackElementFunc
into a C_FillTrackElementFunc
.
FormatterCanLoadURIMethod
type C_FormatterCanLoadURIMethod = Ptr Formatter -> CString -> Ptr (Ptr GError) -> IO CInt Source #
Type for the callback on the (unwrapped) C side.
type FormatterCanLoadURIMethod Source #
No description available in the introspection data.
dynamic_FormatterCanLoadURIMethod Source #
:: (HasCallStack, MonadIO m, IsFormatter a) | |
=> FunPtr C_FormatterCanLoadURIMethod | |
-> a | |
-> Text | |
-> m () | (Can throw |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
mk_FormatterCanLoadURIMethod :: C_FormatterCanLoadURIMethod -> IO (FunPtr C_FormatterCanLoadURIMethod) Source #
Generate a function pointer callable from C code, from a C_FormatterCanLoadURIMethod
.
noFormatterCanLoadURIMethod :: Maybe FormatterCanLoadURIMethod Source #
A convenience synonym for
.Nothing
:: Maybe
FormatterCanLoadURIMethod
FormatterLoadFromURIMethod
type C_FormatterLoadFromURIMethod = Ptr Formatter -> Ptr Timeline -> CString -> Ptr (Ptr GError) -> IO CInt Source #
Type for the callback on the (unwrapped) C side.
type FormatterLoadFromURIMethod Source #
= Formatter |
|
-> Timeline |
|
-> Text |
|
-> IO () | Returns: TRUE if the timeline data was successfully loaded from the URI,
else FALSE. (Can throw |
Virtual method for loading a timeline from a given URI.
Every Formatter
subclass needs to implement this method.
dynamic_FormatterLoadFromURIMethod Source #
:: (HasCallStack, MonadIO m, IsFormatter a, IsTimeline b) | |
=> FunPtr C_FormatterLoadFromURIMethod | |
-> a |
|
-> b |
|
-> Text |
|
-> m () | (Can throw |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
mk_FormatterLoadFromURIMethod :: C_FormatterLoadFromURIMethod -> IO (FunPtr C_FormatterLoadFromURIMethod) Source #
Generate a function pointer callable from C code, from a C_FormatterLoadFromURIMethod
.
noFormatterLoadFromURIMethod :: Maybe FormatterLoadFromURIMethod Source #
A convenience synonym for
.Nothing
:: Maybe
FormatterLoadFromURIMethod
FormatterSaveToURIMethod
type C_FormatterSaveToURIMethod = Ptr Formatter -> Ptr Timeline -> CString -> CInt -> Ptr (Ptr GError) -> IO CInt Source #
Type for the callback on the (unwrapped) C side.
type FormatterSaveToURIMethod Source #
= Formatter |
|
-> Timeline |
|
-> Text |
|
-> Bool |
|
-> IO () | Returns: TRUE if the timeline data was successfully saved to the URI
else FALSE. (Can throw |
Virtual method for saving a timeline to a uri.
Every Formatter
subclass needs to implement this method.
dynamic_FormatterSaveToURIMethod Source #
:: (HasCallStack, MonadIO m, IsFormatter a, IsTimeline b) | |
=> FunPtr C_FormatterSaveToURIMethod | |
-> a |
|
-> b |
|
-> Text |
|
-> Bool |
|
-> m () | (Can throw |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
mk_FormatterSaveToURIMethod :: C_FormatterSaveToURIMethod -> IO (FunPtr C_FormatterSaveToURIMethod) Source #
Generate a function pointer callable from C code, from a C_FormatterSaveToURIMethod
.
noFormatterSaveToURIMethod :: Maybe FormatterSaveToURIMethod Source #
A convenience synonym for
.Nothing
:: Maybe
FormatterSaveToURIMethod
MetaForeachFunc
type C_MetaForeachFunc = Ptr MetaContainer -> CString -> Ptr GValue -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type MetaForeachFunc Source #
= MetaContainer |
|
-> Text |
|
-> GValue |
|
-> IO () |
A method to be called on all of a meta container's fields.
type MetaForeachFunc_WithClosures Source #
= MetaContainer |
|
-> Text |
|
-> GValue |
|
-> Ptr () |
|
-> IO () |
A method to be called on all of a meta container's fields.
drop_closures_MetaForeachFunc :: MetaForeachFunc -> MetaForeachFunc_WithClosures Source #
A simple wrapper that ignores the closure arguments.
dynamic_MetaForeachFunc Source #
:: (HasCallStack, MonadIO m, IsMetaContainer a) | |
=> FunPtr C_MetaForeachFunc | |
-> a |
|
-> Text |
|
-> GValue |
|
-> Ptr () |
|
-> m () |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_MetaForeachFunc :: MonadIO m => MetaForeachFunc -> m (GClosure C_MetaForeachFunc) Source #
Wrap the callback into a GClosure
.
mk_MetaForeachFunc :: C_MetaForeachFunc -> IO (FunPtr C_MetaForeachFunc) Source #
Generate a function pointer callable from C code, from a C_MetaForeachFunc
.
noMetaForeachFunc :: Maybe MetaForeachFunc Source #
A convenience synonym for
.Nothing
:: Maybe
MetaForeachFunc
noMetaForeachFunc_WithClosures :: Maybe MetaForeachFunc_WithClosures Source #
A convenience synonym for
.Nothing
:: Maybe
MetaForeachFunc_WithClosures
wrap_MetaForeachFunc :: Maybe (Ptr (FunPtr C_MetaForeachFunc)) -> MetaForeachFunc_WithClosures -> C_MetaForeachFunc Source #
Wrap a MetaForeachFunc
into a C_MetaForeachFunc
.