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 |
A representation of a difference between two VideoTimeCode
instances.
Will not necessarily correspond to a real timecode (e.g. 00:00:10;00)
Since: 1.12
Synopsis
- newtype VideoTimeCodeInterval = VideoTimeCodeInterval (ManagedPtr VideoTimeCodeInterval)
- newZeroVideoTimeCodeInterval :: MonadIO m => m VideoTimeCodeInterval
- videoTimeCodeIntervalClear :: (HasCallStack, MonadIO m) => VideoTimeCodeInterval -> m ()
- videoTimeCodeIntervalCopy :: (HasCallStack, MonadIO m) => VideoTimeCodeInterval -> m VideoTimeCodeInterval
- videoTimeCodeIntervalFree :: (HasCallStack, MonadIO m) => VideoTimeCodeInterval -> m ()
- videoTimeCodeIntervalInit :: (HasCallStack, MonadIO m) => VideoTimeCodeInterval -> Word32 -> Word32 -> Word32 -> Word32 -> m ()
- videoTimeCodeIntervalNew :: (HasCallStack, MonadIO m) => Word32 -> Word32 -> Word32 -> Word32 -> m VideoTimeCodeInterval
- videoTimeCodeIntervalNewFromString :: (HasCallStack, MonadIO m) => Text -> m (Maybe VideoTimeCodeInterval)
- getVideoTimeCodeIntervalFrames :: MonadIO m => VideoTimeCodeInterval -> m Word32
- setVideoTimeCodeIntervalFrames :: MonadIO m => VideoTimeCodeInterval -> Word32 -> m ()
- getVideoTimeCodeIntervalHours :: MonadIO m => VideoTimeCodeInterval -> m Word32
- setVideoTimeCodeIntervalHours :: MonadIO m => VideoTimeCodeInterval -> Word32 -> m ()
- getVideoTimeCodeIntervalMinutes :: MonadIO m => VideoTimeCodeInterval -> m Word32
- setVideoTimeCodeIntervalMinutes :: MonadIO m => VideoTimeCodeInterval -> Word32 -> m ()
- getVideoTimeCodeIntervalSeconds :: MonadIO m => VideoTimeCodeInterval -> m Word32
- setVideoTimeCodeIntervalSeconds :: MonadIO m => VideoTimeCodeInterval -> Word32 -> m ()
Exported types
newtype VideoTimeCodeInterval Source #
Memory-managed wrapper type.
VideoTimeCodeInterval (ManagedPtr VideoTimeCodeInterval) |
Instances
newZeroVideoTimeCodeInterval :: MonadIO m => m VideoTimeCodeInterval Source #
Construct a VideoTimeCodeInterval
struct initialized to zero.
Methods
Click to display all available methods, including inherited ones
clear
videoTimeCodeIntervalClear Source #
:: (HasCallStack, MonadIO m) | |
=> VideoTimeCodeInterval |
|
-> m () |
Initializes tc
with empty/zero/NULL values.
Since: 1.12
copy
videoTimeCodeIntervalCopy Source #
:: (HasCallStack, MonadIO m) | |
=> VideoTimeCodeInterval |
|
-> m VideoTimeCodeInterval | Returns: a new |
No description available in the introspection data.
Since: 1.12
free
videoTimeCodeIntervalFree Source #
:: (HasCallStack, MonadIO m) | |
=> VideoTimeCodeInterval |
|
-> m () |
Frees tc
.
Since: 1.12
init
videoTimeCodeIntervalInit Source #
:: (HasCallStack, MonadIO m) | |
=> VideoTimeCodeInterval |
|
-> Word32 |
|
-> Word32 |
|
-> Word32 |
|
-> Word32 |
|
-> m () |
Initializes tc
with the given values.
Since: 1.12
new
videoTimeCodeIntervalNew Source #
:: (HasCallStack, MonadIO m) | |
=> Word32 |
|
-> Word32 |
|
-> Word32 |
|
-> Word32 |
|
-> m VideoTimeCodeInterval | Returns: a new |
No description available in the introspection data.
Since: 1.12
newFromString
videoTimeCodeIntervalNewFromString Source #
:: (HasCallStack, MonadIO m) | |
=> Text |
|
-> m (Maybe VideoTimeCodeInterval) | Returns: a new |
tcInterStr
must only have ":" as separators.
Since: 1.12
Properties
frames
the frames field of VideoTimeCodeInterval
getVideoTimeCodeIntervalFrames :: MonadIO m => VideoTimeCodeInterval -> m Word32 Source #
Get the value of the “frames
” field.
When overloading is enabled, this is equivalent to
get
videoTimeCodeInterval #frames
setVideoTimeCodeIntervalFrames :: MonadIO m => VideoTimeCodeInterval -> Word32 -> m () Source #
Set the value of the “frames
” field.
When overloading is enabled, this is equivalent to
set
videoTimeCodeInterval [ #frames:=
value ]
hours
the hours field of VideoTimeCodeInterval
getVideoTimeCodeIntervalHours :: MonadIO m => VideoTimeCodeInterval -> m Word32 Source #
Get the value of the “hours
” field.
When overloading is enabled, this is equivalent to
get
videoTimeCodeInterval #hours
setVideoTimeCodeIntervalHours :: MonadIO m => VideoTimeCodeInterval -> Word32 -> m () Source #
Set the value of the “hours
” field.
When overloading is enabled, this is equivalent to
set
videoTimeCodeInterval [ #hours:=
value ]
minutes
the minutes field of VideoTimeCodeInterval
getVideoTimeCodeIntervalMinutes :: MonadIO m => VideoTimeCodeInterval -> m Word32 Source #
Get the value of the “minutes
” field.
When overloading is enabled, this is equivalent to
get
videoTimeCodeInterval #minutes
setVideoTimeCodeIntervalMinutes :: MonadIO m => VideoTimeCodeInterval -> Word32 -> m () Source #
Set the value of the “minutes
” field.
When overloading is enabled, this is equivalent to
set
videoTimeCodeInterval [ #minutes:=
value ]
seconds
the seconds field of VideoTimeCodeInterval
getVideoTimeCodeIntervalSeconds :: MonadIO m => VideoTimeCodeInterval -> m Word32 Source #
Get the value of the “seconds
” field.
When overloading is enabled, this is equivalent to
get
videoTimeCodeInterval #seconds
setVideoTimeCodeIntervalSeconds :: MonadIO m => VideoTimeCodeInterval -> Word32 -> m () Source #
Set the value of the “seconds
” field.
When overloading is enabled, this is equivalent to
set
videoTimeCodeInterval [ #seconds:=
value ]