Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
Encoding profiles for containers. Keeps track of a list of EncodingProfile
Synopsis
- newtype EncodingContainerProfile = EncodingContainerProfile (ManagedPtr EncodingContainerProfile)
- class (GObject o, IsDescendantOf EncodingContainerProfile o) => IsEncodingContainerProfile o
- toEncodingContainerProfile :: (MonadIO m, IsEncodingContainerProfile o) => o -> m EncodingContainerProfile
- encodingContainerProfileAddProfile :: (HasCallStack, MonadIO m, IsEncodingContainerProfile a, IsEncodingProfile b) => a -> b -> m Bool
- encodingContainerProfileContainsProfile :: (HasCallStack, MonadIO m, IsEncodingContainerProfile a, IsEncodingProfile b) => a -> b -> m Bool
- encodingContainerProfileGetProfiles :: (HasCallStack, MonadIO m, IsEncodingContainerProfile a) => a -> m [EncodingProfile]
- encodingContainerProfileNew :: (HasCallStack, MonadIO m) => Maybe Text -> Maybe Text -> Caps -> Maybe Text -> m EncodingContainerProfile
Exported types
newtype EncodingContainerProfile Source #
Memory-managed wrapper type.
EncodingContainerProfile (ManagedPtr EncodingContainerProfile) |
Instances
Eq EncodingContainerProfile Source # | |
Defined in GI.GstPbutils.Objects.EncodingContainerProfile (==) :: EncodingContainerProfile -> EncodingContainerProfile -> Bool (/=) :: EncodingContainerProfile -> EncodingContainerProfile -> Bool | |
GObject EncodingContainerProfile Source # | |
ManagedPtrNewtype EncodingContainerProfile Source # | |
Defined in GI.GstPbutils.Objects.EncodingContainerProfile toManagedPtr :: EncodingContainerProfile -> ManagedPtr EncodingContainerProfile | |
TypedObject EncodingContainerProfile Source # | |
Defined in GI.GstPbutils.Objects.EncodingContainerProfile glibType :: IO GType | |
IsGValue EncodingContainerProfile Source # | Convert |
Defined in GI.GstPbutils.Objects.EncodingContainerProfile toGValue :: EncodingContainerProfile -> IO GValue fromGValue :: GValue -> IO EncodingContainerProfile | |
HasParentTypes EncodingContainerProfile Source # | |
type ParentTypes EncodingContainerProfile Source # | |
class (GObject o, IsDescendantOf EncodingContainerProfile o) => IsEncodingContainerProfile o Source #
Type class for types which can be safely cast to EncodingContainerProfile
, for instance with toEncodingContainerProfile
.
Instances
(GObject o, IsDescendantOf EncodingContainerProfile o) => IsEncodingContainerProfile o Source # | |
toEncodingContainerProfile :: (MonadIO m, IsEncodingContainerProfile o) => o -> m EncodingContainerProfile Source #
Cast to EncodingContainerProfile
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Overloaded methods
addProfile
encodingContainerProfileAddProfile Source #
:: (HasCallStack, MonadIO m, IsEncodingContainerProfile a, IsEncodingProfile b) | |
=> a |
|
-> b |
|
-> m Bool | Returns: |
Add a EncodingProfile
to the list of profiles handled by container
.
No copy of profile
will be made, if you wish to use it elsewhere after this
method you should increment its reference count.
containsProfile
encodingContainerProfileContainsProfile Source #
:: (HasCallStack, MonadIO m, IsEncodingContainerProfile a, IsEncodingProfile b) | |
=> a |
|
-> b |
|
-> m Bool | Returns: |
Checks if container
contains a EncodingProfile
identical to
profile
.
getProfiles
encodingContainerProfileGetProfiles Source #
:: (HasCallStack, MonadIO m, IsEncodingContainerProfile a) | |
=> a |
|
-> m [EncodingProfile] | Returns:
the list of contained |
No description available in the introspection data.
new
encodingContainerProfileNew Source #
:: (HasCallStack, MonadIO m) | |
=> Maybe Text |
|
-> Maybe Text |
|
-> Caps |
|
-> Maybe Text |
|
-> m EncodingContainerProfile | Returns: The newly created |
Creates a new EncodingContainerProfile
.