Inserts a timeline marker into the document at a given time.
Optionally an insertion point pPred in the timeline marker list can be specified, giving the marker before the wanted insertion point.
- Parameters
-
[in] | doc | The document. The caller owns the pointed document. |
[in] | pPred | The optional timeline marker to use as list insertion point. The caller owns the pointed marker. |
[in] | time | The time position of the timeline marker. |
[in] | name | The name of the timeline marker. |
- Returns
- The added timeline marker, or nullptr if insertion failed.