{-# LANGUAGE TypeApplications #-}
#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif
module GI.GES.Objects.VideoUriSource
(
VideoUriSource(..) ,
IsVideoUriSource ,
toVideoUriSource ,
#if defined(ENABLE_OVERLOADING)
ResolveVideoUriSourceMethod ,
#endif
#if defined(ENABLE_OVERLOADING)
VideoUriSourceUriPropertyInfo ,
#endif
constructVideoUriSourceUri ,
getVideoUriSourceUri ,
#if defined(ENABLE_OVERLOADING)
videoUriSourceUri ,
#endif
) where
import Data.GI.Base.ShortPrelude
import qualified Data.GI.Base.ShortPrelude as SP
import qualified Data.GI.Base.Overloading as O
import qualified Prelude as P
import qualified Data.GI.Base.Attributes as GI.Attributes
import qualified Data.GI.Base.BasicTypes as B.Types
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GArray as B.GArray
import qualified Data.GI.Base.GClosure as B.GClosure
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GHashTable as B.GHT
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GValue as B.GValue
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.GI.Base.Properties as B.Properties
import qualified Data.GI.Base.Signals as B.Signals
import qualified Control.Monad.IO.Class as MIO
import qualified Data.Coerce as Coerce
import qualified Data.Text as T
import qualified Data.Kind as DK
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GHC.OverloadedLabels as OL
import qualified GHC.Records as R
import qualified Data.Word as DW
import qualified Data.Int as DI
import qualified System.Posix.Types as SPT
import qualified Foreign.C.Types as FCT
#if MIN_VERSION_base(4,18,0)
import qualified GI.GES.Callbacks as GES.Callbacks
import {-# SOURCE #-} qualified GI.GES.Enums as GES.Enums
import {-# SOURCE #-} qualified GI.GES.Flags as GES.Flags
import {-# SOURCE #-} qualified GI.GES.Interfaces.Extractable as GES.Extractable
import {-# SOURCE #-} qualified GI.GES.Interfaces.MetaContainer as GES.MetaContainer
import {-# SOURCE #-} qualified GI.GES.Objects.Asset as GES.Asset
import {-# SOURCE #-} qualified GI.GES.Objects.BaseEffect as GES.BaseEffect
import {-# SOURCE #-} qualified GI.GES.Objects.Clip as GES.Clip
import {-# SOURCE #-} qualified GI.GES.Objects.Container as GES.Container
import {-# SOURCE #-} qualified GI.GES.Objects.Group as GES.Group
import {-# SOURCE #-} qualified GI.GES.Objects.Layer as GES.Layer
import {-# SOURCE #-} qualified GI.GES.Objects.Marker as GES.Marker
import {-# SOURCE #-} qualified GI.GES.Objects.MarkerList as GES.MarkerList
import {-# SOURCE #-} qualified GI.GES.Objects.Operation as GES.Operation
import {-# SOURCE #-} qualified GI.GES.Objects.Source as GES.Source
import {-# SOURCE #-} qualified GI.GES.Objects.Timeline as GES.Timeline
import {-# SOURCE #-} qualified GI.GES.Objects.TimelineElement as GES.TimelineElement
import {-# SOURCE #-} qualified GI.GES.Objects.Track as GES.Track
import {-# SOURCE #-} qualified GI.GES.Objects.TrackElement as GES.TrackElement
import {-# SOURCE #-} qualified GI.GES.Objects.VideoSource as GES.VideoSource
import qualified GI.GLib.Callbacks as GLib.Callbacks
import qualified GI.GLib.Structs.Date as GLib.Date
import qualified GI.GObject.Objects.InitiallyUnowned as GObject.InitiallyUnowned
import qualified GI.GObject.Objects.Object as GObject.Object
import qualified GI.Gio.Callbacks as Gio.Callbacks
import qualified GI.Gio.Interfaces.AsyncInitable as Gio.AsyncInitable
import qualified GI.Gio.Interfaces.AsyncResult as Gio.AsyncResult
import qualified GI.Gio.Interfaces.Initable as Gio.Initable
import qualified GI.Gio.Objects.Cancellable as Gio.Cancellable
import qualified GI.Gst.Interfaces.ChildProxy as Gst.ChildProxy
import qualified GI.Gst.Objects.Bin as Gst.Bin
import qualified GI.Gst.Objects.ControlBinding as Gst.ControlBinding
import qualified GI.Gst.Objects.ControlSource as Gst.ControlSource
import qualified GI.Gst.Objects.Element as Gst.Element
import qualified GI.Gst.Objects.Object as Gst.Object
import qualified GI.Gst.Objects.Pad as Gst.Pad
import qualified GI.Gst.Structs.Caps as Gst.Caps
import qualified GI.Gst.Structs.DateTime as Gst.DateTime
#else
import {-# SOURCE #-} qualified GI.GES.Interfaces.Extractable as GES.Extractable
import {-# SOURCE #-} qualified GI.GES.Interfaces.MetaContainer as GES.MetaContainer
import {-# SOURCE #-} qualified GI.GES.Objects.Source as GES.Source
import {-# SOURCE #-} qualified GI.GES.Objects.TimelineElement as GES.TimelineElement
import {-# SOURCE #-} qualified GI.GES.Objects.TrackElement as GES.TrackElement
import {-# SOURCE #-} qualified GI.GES.Objects.VideoSource as GES.VideoSource
import qualified GI.GObject.Objects.Object as GObject.Object
#endif
newtype VideoUriSource = VideoUriSource (SP.ManagedPtr VideoUriSource)
deriving (VideoUriSource -> VideoUriSource -> Bool
(VideoUriSource -> VideoUriSource -> Bool)
-> (VideoUriSource -> VideoUriSource -> Bool) -> Eq VideoUriSource
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: VideoUriSource -> VideoUriSource -> Bool
== :: VideoUriSource -> VideoUriSource -> Bool
$c/= :: VideoUriSource -> VideoUriSource -> Bool
/= :: VideoUriSource -> VideoUriSource -> Bool
Eq)
instance SP.ManagedPtrNewtype VideoUriSource where
toManagedPtr :: VideoUriSource -> ManagedPtr VideoUriSource
toManagedPtr (VideoUriSource ManagedPtr VideoUriSource
p) = ManagedPtr VideoUriSource
p
foreign import ccall "ges_video_uri_source_get_type"
c_ges_video_uri_source_get_type :: IO B.Types.GType
instance B.Types.TypedObject VideoUriSource where
glibType :: IO GType
glibType = IO GType
c_ges_video_uri_source_get_type
instance B.Types.GObject VideoUriSource
class (SP.GObject o, O.IsDescendantOf VideoUriSource o) => IsVideoUriSource o
instance (SP.GObject o, O.IsDescendantOf VideoUriSource o) => IsVideoUriSource o
instance O.HasParentTypes VideoUriSource
type instance O.ParentTypes VideoUriSource = '[GES.VideoSource.VideoSource, GES.Source.Source, GES.TrackElement.TrackElement, GES.TimelineElement.TimelineElement, GObject.Object.Object, GES.Extractable.Extractable, GES.MetaContainer.MetaContainer]
toVideoUriSource :: (MIO.MonadIO m, IsVideoUriSource o) => o -> m VideoUriSource
toVideoUriSource :: forall (m :: * -> *) o.
(MonadIO m, IsVideoUriSource o) =>
o -> m VideoUriSource
toVideoUriSource = IO VideoUriSource -> m VideoUriSource
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO VideoUriSource -> m VideoUriSource)
-> (o -> IO VideoUriSource) -> o -> m VideoUriSource
forall b c a. (b -> c) -> (a -> b) -> a -> c
. (ManagedPtr VideoUriSource -> VideoUriSource)
-> o -> IO VideoUriSource
forall o o'.
(HasCallStack, ManagedPtrNewtype o, TypedObject o,
ManagedPtrNewtype o', TypedObject o') =>
(ManagedPtr o' -> o') -> o -> IO o'
B.ManagedPtr.unsafeCastTo ManagedPtr VideoUriSource -> VideoUriSource
VideoUriSource
instance B.GValue.IsGValue (Maybe VideoUriSource) where
gvalueGType_ :: IO GType
gvalueGType_ = IO GType
c_ges_video_uri_source_get_type
gvalueSet_ :: Ptr GValue -> Maybe VideoUriSource -> IO ()
gvalueSet_ Ptr GValue
gv Maybe VideoUriSource
P.Nothing = Ptr GValue -> Ptr VideoUriSource -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv (Ptr VideoUriSource
forall a. Ptr a
FP.nullPtr :: FP.Ptr VideoUriSource)
gvalueSet_ Ptr GValue
gv (P.Just VideoUriSource
obj) = VideoUriSource -> (Ptr VideoUriSource -> IO ()) -> IO ()
forall a c.
(HasCallStack, ManagedPtrNewtype a) =>
a -> (Ptr a -> IO c) -> IO c
B.ManagedPtr.withManagedPtr VideoUriSource
obj (Ptr GValue -> Ptr VideoUriSource -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv)
gvalueGet_ :: Ptr GValue -> IO (Maybe VideoUriSource)
gvalueGet_ Ptr GValue
gv = do
Ptr VideoUriSource
ptr <- Ptr GValue -> IO (Ptr VideoUriSource)
forall a. GObject a => Ptr GValue -> IO (Ptr a)
B.GValue.get_object Ptr GValue
gv :: IO (FP.Ptr VideoUriSource)
if Ptr VideoUriSource
ptr Ptr VideoUriSource -> Ptr VideoUriSource -> Bool
forall a. Eq a => a -> a -> Bool
/= Ptr VideoUriSource
forall a. Ptr a
FP.nullPtr
then VideoUriSource -> Maybe VideoUriSource
forall a. a -> Maybe a
P.Just (VideoUriSource -> Maybe VideoUriSource)
-> IO VideoUriSource -> IO (Maybe VideoUriSource)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> (ManagedPtr VideoUriSource -> VideoUriSource)
-> Ptr VideoUriSource -> IO VideoUriSource
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
B.ManagedPtr.newObject ManagedPtr VideoUriSource -> VideoUriSource
VideoUriSource Ptr VideoUriSource
ptr
else Maybe VideoUriSource -> IO (Maybe VideoUriSource)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe VideoUriSource
forall a. Maybe a
P.Nothing
#if defined(ENABLE_OVERLOADING)
type family ResolveVideoUriSourceMethod (t :: Symbol) (o :: DK.Type) :: DK.Type where
ResolveVideoUriSourceMethod "addChildProperty" o = GES.TimelineElement.TimelineElementAddChildPropertyMethodInfo
ResolveVideoUriSourceMethod "addChildrenProps" o = GES.TrackElement.TrackElementAddChildrenPropsMethodInfo
ResolveVideoUriSourceMethod "addMetasFromString" o = GES.MetaContainer.MetaContainerAddMetasFromStringMethodInfo
ResolveVideoUriSourceMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveVideoUriSourceMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveVideoUriSourceMethod "checkMetaRegistered" o = GES.MetaContainer.MetaContainerCheckMetaRegisteredMethodInfo
ResolveVideoUriSourceMethod "clampControlSource" o = GES.TrackElement.TrackElementClampControlSourceMethodInfo
ResolveVideoUriSourceMethod "copy" o = GES.TimelineElement.TimelineElementCopyMethodInfo
ResolveVideoUriSourceMethod "edit" o = GES.TrackElement.TrackElementEditMethodInfo
ResolveVideoUriSourceMethod "editFull" o = GES.TimelineElement.TimelineElementEditFullMethodInfo
ResolveVideoUriSourceMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveVideoUriSourceMethod "foreach" o = GES.MetaContainer.MetaContainerForeachMethodInfo
ResolveVideoUriSourceMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveVideoUriSourceMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveVideoUriSourceMethod "hasInternalSource" o = GES.TrackElement.TrackElementHasInternalSourceMethodInfo
ResolveVideoUriSourceMethod "isActive" o = GES.TrackElement.TrackElementIsActiveMethodInfo
ResolveVideoUriSourceMethod "isCore" o = GES.TrackElement.TrackElementIsCoreMethodInfo
ResolveVideoUriSourceMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveVideoUriSourceMethod "listChildrenProperties" o = GES.TrackElement.TrackElementListChildrenPropertiesMethodInfo
ResolveVideoUriSourceMethod "lookupChild" o = GES.TrackElement.TrackElementLookupChildMethodInfo
ResolveVideoUriSourceMethod "metasToString" o = GES.MetaContainer.MetaContainerMetasToStringMethodInfo
ResolveVideoUriSourceMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveVideoUriSourceMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveVideoUriSourceMethod "paste" o = GES.TimelineElement.TimelineElementPasteMethodInfo
ResolveVideoUriSourceMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveVideoUriSourceMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveVideoUriSourceMethod "registerMeta" o = GES.MetaContainer.MetaContainerRegisterMetaMethodInfo
ResolveVideoUriSourceMethod "registerMetaBoolean" o = GES.MetaContainer.MetaContainerRegisterMetaBooleanMethodInfo
ResolveVideoUriSourceMethod "registerMetaDate" o = GES.MetaContainer.MetaContainerRegisterMetaDateMethodInfo
ResolveVideoUriSourceMethod "registerMetaDateTime" o = GES.MetaContainer.MetaContainerRegisterMetaDateTimeMethodInfo
ResolveVideoUriSourceMethod "registerMetaDouble" o = GES.MetaContainer.MetaContainerRegisterMetaDoubleMethodInfo
ResolveVideoUriSourceMethod "registerMetaFloat" o = GES.MetaContainer.MetaContainerRegisterMetaFloatMethodInfo
ResolveVideoUriSourceMethod "registerMetaInt" o = GES.MetaContainer.MetaContainerRegisterMetaIntMethodInfo
ResolveVideoUriSourceMethod "registerMetaInt64" o = GES.MetaContainer.MetaContainerRegisterMetaInt64MethodInfo
ResolveVideoUriSourceMethod "registerMetaString" o = GES.MetaContainer.MetaContainerRegisterMetaStringMethodInfo
ResolveVideoUriSourceMethod "registerMetaUint" o = GES.MetaContainer.MetaContainerRegisterMetaUintMethodInfo
ResolveVideoUriSourceMethod "registerMetaUint64" o = GES.MetaContainer.MetaContainerRegisterMetaUint64MethodInfo
ResolveVideoUriSourceMethod "registerStaticMeta" o = GES.MetaContainer.MetaContainerRegisterStaticMetaMethodInfo
ResolveVideoUriSourceMethod "removeChildProperty" o = GES.TimelineElement.TimelineElementRemoveChildPropertyMethodInfo
ResolveVideoUriSourceMethod "removeControlBinding" o = GES.TrackElement.TrackElementRemoveControlBindingMethodInfo
ResolveVideoUriSourceMethod "ripple" o = GES.TimelineElement.TimelineElementRippleMethodInfo
ResolveVideoUriSourceMethod "rippleEnd" o = GES.TimelineElement.TimelineElementRippleEndMethodInfo
ResolveVideoUriSourceMethod "rollEnd" o = GES.TimelineElement.TimelineElementRollEndMethodInfo
ResolveVideoUriSourceMethod "rollStart" o = GES.TimelineElement.TimelineElementRollStartMethodInfo
ResolveVideoUriSourceMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveVideoUriSourceMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveVideoUriSourceMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveVideoUriSourceMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveVideoUriSourceMethod "trim" o = GES.TimelineElement.TimelineElementTrimMethodInfo
ResolveVideoUriSourceMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveVideoUriSourceMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveVideoUriSourceMethod "getAllControlBindings" o = GES.TrackElement.TrackElementGetAllControlBindingsMethodInfo
ResolveVideoUriSourceMethod "getAsset" o = GES.Extractable.ExtractableGetAssetMethodInfo
ResolveVideoUriSourceMethod "getAutoClampControlSources" o = GES.TrackElement.TrackElementGetAutoClampControlSourcesMethodInfo
ResolveVideoUriSourceMethod "getBoolean" o = GES.MetaContainer.MetaContainerGetBooleanMethodInfo
ResolveVideoUriSourceMethod "getChildProperty" o = GES.TimelineElement.TimelineElementGetChildPropertyMethodInfo
ResolveVideoUriSourceMethod "getChildPropertyByPspec" o = GES.TimelineElement.TimelineElementGetChildPropertyByPspecMethodInfo
ResolveVideoUriSourceMethod "getControlBinding" o = GES.TrackElement.TrackElementGetControlBindingMethodInfo
ResolveVideoUriSourceMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveVideoUriSourceMethod "getDate" o = GES.MetaContainer.MetaContainerGetDateMethodInfo
ResolveVideoUriSourceMethod "getDateTime" o = GES.MetaContainer.MetaContainerGetDateTimeMethodInfo
ResolveVideoUriSourceMethod "getDouble" o = GES.MetaContainer.MetaContainerGetDoubleMethodInfo
ResolveVideoUriSourceMethod "getDuration" o = GES.TimelineElement.TimelineElementGetDurationMethodInfo
ResolveVideoUriSourceMethod "getElement" o = GES.TrackElement.TrackElementGetElementMethodInfo
ResolveVideoUriSourceMethod "getFloat" o = GES.MetaContainer.MetaContainerGetFloatMethodInfo
ResolveVideoUriSourceMethod "getGnlobject" o = GES.TrackElement.TrackElementGetGnlobjectMethodInfo
ResolveVideoUriSourceMethod "getId" o = GES.Extractable.ExtractableGetIdMethodInfo
ResolveVideoUriSourceMethod "getInpoint" o = GES.TimelineElement.TimelineElementGetInpointMethodInfo
ResolveVideoUriSourceMethod "getInt" o = GES.MetaContainer.MetaContainerGetIntMethodInfo
ResolveVideoUriSourceMethod "getInt64" o = GES.MetaContainer.MetaContainerGetInt64MethodInfo
ResolveVideoUriSourceMethod "getLayerPriority" o = GES.TimelineElement.TimelineElementGetLayerPriorityMethodInfo
ResolveVideoUriSourceMethod "getMarkerList" o = GES.MetaContainer.MetaContainerGetMarkerListMethodInfo
ResolveVideoUriSourceMethod "getMaxDuration" o = GES.TimelineElement.TimelineElementGetMaxDurationMethodInfo
ResolveVideoUriSourceMethod "getMeta" o = GES.MetaContainer.MetaContainerGetMetaMethodInfo
ResolveVideoUriSourceMethod "getName" o = GES.TimelineElement.TimelineElementGetNameMethodInfo
ResolveVideoUriSourceMethod "getNaturalFramerate" o = GES.TimelineElement.TimelineElementGetNaturalFramerateMethodInfo
ResolveVideoUriSourceMethod "getNaturalSize" o = GES.VideoSource.VideoSourceGetNaturalSizeMethodInfo
ResolveVideoUriSourceMethod "getNleobject" o = GES.TrackElement.TrackElementGetNleobjectMethodInfo
ResolveVideoUriSourceMethod "getParent" o = GES.TimelineElement.TimelineElementGetParentMethodInfo
ResolveVideoUriSourceMethod "getPriority" o = GES.TimelineElement.TimelineElementGetPriorityMethodInfo
ResolveVideoUriSourceMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveVideoUriSourceMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveVideoUriSourceMethod "getStart" o = GES.TimelineElement.TimelineElementGetStartMethodInfo
ResolveVideoUriSourceMethod "getString" o = GES.MetaContainer.MetaContainerGetStringMethodInfo
ResolveVideoUriSourceMethod "getTimeline" o = GES.TimelineElement.TimelineElementGetTimelineMethodInfo
ResolveVideoUriSourceMethod "getToplevelParent" o = GES.TimelineElement.TimelineElementGetToplevelParentMethodInfo
ResolveVideoUriSourceMethod "getTrack" o = GES.TrackElement.TrackElementGetTrackMethodInfo
ResolveVideoUriSourceMethod "getTrackType" o = GES.TrackElement.TrackElementGetTrackTypeMethodInfo
ResolveVideoUriSourceMethod "getTrackTypes" o = GES.TimelineElement.TimelineElementGetTrackTypesMethodInfo
ResolveVideoUriSourceMethod "getUint" o = GES.MetaContainer.MetaContainerGetUintMethodInfo
ResolveVideoUriSourceMethod "getUint64" o = GES.MetaContainer.MetaContainerGetUint64MethodInfo
ResolveVideoUriSourceMethod "setActive" o = GES.TrackElement.TrackElementSetActiveMethodInfo
ResolveVideoUriSourceMethod "setAsset" o = GES.Extractable.ExtractableSetAssetMethodInfo
ResolveVideoUriSourceMethod "setAutoClampControlSources" o = GES.TrackElement.TrackElementSetAutoClampControlSourcesMethodInfo
ResolveVideoUriSourceMethod "setBoolean" o = GES.MetaContainer.MetaContainerSetBooleanMethodInfo
ResolveVideoUriSourceMethod "setChildProperty" o = GES.TimelineElement.TimelineElementSetChildPropertyMethodInfo
ResolveVideoUriSourceMethod "setChildPropertyByPspec" o = GES.TimelineElement.TimelineElementSetChildPropertyByPspecMethodInfo
ResolveVideoUriSourceMethod "setChildPropertyFull" o = GES.TimelineElement.TimelineElementSetChildPropertyFullMethodInfo
ResolveVideoUriSourceMethod "setControlSource" o = GES.TrackElement.TrackElementSetControlSourceMethodInfo
ResolveVideoUriSourceMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveVideoUriSourceMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
ResolveVideoUriSourceMethod "setDate" o = GES.MetaContainer.MetaContainerSetDateMethodInfo
ResolveVideoUriSourceMethod "setDateTime" o = GES.MetaContainer.MetaContainerSetDateTimeMethodInfo
ResolveVideoUriSourceMethod "setDouble" o = GES.MetaContainer.MetaContainerSetDoubleMethodInfo
ResolveVideoUriSourceMethod "setDuration" o = GES.TimelineElement.TimelineElementSetDurationMethodInfo
ResolveVideoUriSourceMethod "setFloat" o = GES.MetaContainer.MetaContainerSetFloatMethodInfo
ResolveVideoUriSourceMethod "setHasInternalSource" o = GES.TrackElement.TrackElementSetHasInternalSourceMethodInfo
ResolveVideoUriSourceMethod "setInpoint" o = GES.TimelineElement.TimelineElementSetInpointMethodInfo
ResolveVideoUriSourceMethod "setInt" o = GES.MetaContainer.MetaContainerSetIntMethodInfo
ResolveVideoUriSourceMethod "setInt64" o = GES.MetaContainer.MetaContainerSetInt64MethodInfo
ResolveVideoUriSourceMethod "setMarkerList" o = GES.MetaContainer.MetaContainerSetMarkerListMethodInfo
ResolveVideoUriSourceMethod "setMaxDuration" o = GES.TimelineElement.TimelineElementSetMaxDurationMethodInfo
ResolveVideoUriSourceMethod "setMeta" o = GES.MetaContainer.MetaContainerSetMetaMethodInfo
ResolveVideoUriSourceMethod "setName" o = GES.TimelineElement.TimelineElementSetNameMethodInfo
ResolveVideoUriSourceMethod "setParent" o = GES.TimelineElement.TimelineElementSetParentMethodInfo
ResolveVideoUriSourceMethod "setPriority" o = GES.TimelineElement.TimelineElementSetPriorityMethodInfo
ResolveVideoUriSourceMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveVideoUriSourceMethod "setStart" o = GES.TimelineElement.TimelineElementSetStartMethodInfo
ResolveVideoUriSourceMethod "setString" o = GES.MetaContainer.MetaContainerSetStringMethodInfo
ResolveVideoUriSourceMethod "setTimeline" o = GES.TimelineElement.TimelineElementSetTimelineMethodInfo
ResolveVideoUriSourceMethod "setTrackType" o = GES.TrackElement.TrackElementSetTrackTypeMethodInfo
ResolveVideoUriSourceMethod "setUint" o = GES.MetaContainer.MetaContainerSetUintMethodInfo
ResolveVideoUriSourceMethod "setUint64" o = GES.MetaContainer.MetaContainerSetUint64MethodInfo
ResolveVideoUriSourceMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveVideoUriSourceMethod t VideoUriSource, O.OverloadedMethod info VideoUriSource p) => OL.IsLabel t (VideoUriSource -> p) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.overloadedMethod @info
#else
fromLabel _ = O.overloadedMethod @info
#endif
#if MIN_VERSION_base(4,13,0)
instance (info ~ ResolveVideoUriSourceMethod t VideoUriSource, O.OverloadedMethod info VideoUriSource p, R.HasField t VideoUriSource p) => R.HasField t VideoUriSource p where
getField = O.overloadedMethod @info
#endif
instance (info ~ ResolveVideoUriSourceMethod t VideoUriSource, O.OverloadedMethodInfo info VideoUriSource) => OL.IsLabel t (O.MethodProxy info VideoUriSource) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.MethodProxy
#else
fromLabel _ = O.MethodProxy
#endif
#endif
getVideoUriSourceUri :: (MonadIO m, IsVideoUriSource o) => o -> m (Maybe T.Text)
getVideoUriSourceUri :: forall (m :: * -> *) o.
(MonadIO m, IsVideoUriSource o) =>
o -> m (Maybe Text)
getVideoUriSourceUri o
obj = IO (Maybe Text) -> m (Maybe Text)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe Text) -> m (Maybe Text))
-> IO (Maybe Text) -> m (Maybe Text)
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"uri"
constructVideoUriSourceUri :: (IsVideoUriSource o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructVideoUriSourceUri :: forall o (m :: * -> *).
(IsVideoUriSource o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructVideoUriSourceUri Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"uri" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)
#if defined(ENABLE_OVERLOADING)
data VideoUriSourceUriPropertyInfo
instance AttrInfo VideoUriSourceUriPropertyInfo where
type AttrAllowedOps VideoUriSourceUriPropertyInfo = '[ 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint VideoUriSourceUriPropertyInfo = IsVideoUriSource
type AttrSetTypeConstraint VideoUriSourceUriPropertyInfo = (~) T.Text
type AttrTransferTypeConstraint VideoUriSourceUriPropertyInfo = (~) T.Text
type AttrTransferType VideoUriSourceUriPropertyInfo = T.Text
type AttrGetType VideoUriSourceUriPropertyInfo = (Maybe T.Text)
type AttrLabel VideoUriSourceUriPropertyInfo = "uri"
type AttrOrigin VideoUriSourceUriPropertyInfo = VideoUriSource
attrGet = getVideoUriSourceUri
attrSet = undefined
attrTransfer _ v = do
return v
attrConstruct = constructVideoUriSourceUri
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GES.Objects.VideoUriSource.uri"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-ges-1.0.5/docs/GI-GES-Objects-VideoUriSource.html#g:attr:uri"
})
#endif
#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList VideoUriSource
type instance O.AttributeList VideoUriSource = VideoUriSourceAttributeList
type VideoUriSourceAttributeList = ('[ '("active", GES.TrackElement.TrackElementActivePropertyInfo), '("autoClampControlSources", GES.TrackElement.TrackElementAutoClampControlSourcesPropertyInfo), '("duration", GES.TimelineElement.TimelineElementDurationPropertyInfo), '("hasInternalSource", GES.TrackElement.TrackElementHasInternalSourcePropertyInfo), '("inPoint", GES.TimelineElement.TimelineElementInPointPropertyInfo), '("maxDuration", GES.TimelineElement.TimelineElementMaxDurationPropertyInfo), '("name", GES.TimelineElement.TimelineElementNamePropertyInfo), '("parent", GES.TimelineElement.TimelineElementParentPropertyInfo), '("priority", GES.TimelineElement.TimelineElementPriorityPropertyInfo), '("serialize", GES.TimelineElement.TimelineElementSerializePropertyInfo), '("start", GES.TimelineElement.TimelineElementStartPropertyInfo), '("timeline", GES.TimelineElement.TimelineElementTimelinePropertyInfo), '("track", GES.TrackElement.TrackElementTrackPropertyInfo), '("trackType", GES.TrackElement.TrackElementTrackTypePropertyInfo), '("uri", VideoUriSourceUriPropertyInfo)] :: [(Symbol, DK.Type)])
#endif
#if defined(ENABLE_OVERLOADING)
videoUriSourceUri :: AttrLabelProxy "uri"
videoUriSourceUri = AttrLabelProxy
#endif
#if defined(ENABLE_OVERLOADING)
type instance O.SignalList VideoUriSource = VideoUriSourceSignalList
type VideoUriSourceSignalList = ('[ '("childPropertyAdded", GES.TimelineElement.TimelineElementChildPropertyAddedSignalInfo), '("childPropertyRemoved", GES.TimelineElement.TimelineElementChildPropertyRemovedSignalInfo), '("controlBindingAdded", GES.TrackElement.TrackElementControlBindingAddedSignalInfo), '("controlBindingRemoved", GES.TrackElement.TrackElementControlBindingRemovedSignalInfo), '("deepNotify", GES.TimelineElement.TimelineElementDeepNotifySignalInfo), '("notify", GObject.Object.ObjectNotifySignalInfo), '("notifyMeta", GES.MetaContainer.MetaContainerNotifyMetaSignalInfo)] :: [(Symbol, DK.Type)])
#endif