Changeset View
Changeset View
Standalone View
Standalone View
source/blender/sequencer/SEQ_sequencer.h
| Show All 21 Lines | |||||
| /** \file | /** \file | ||||
| * \ingroup sequencer | * \ingroup sequencer | ||||
| */ | */ | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| #include "BLI_threads.h" | |||||
| #include "DNA_scene_types.h" | #include "DNA_scene_types.h" | ||||
| struct BlendDataReader; | struct BlendDataReader; | ||||
| struct BlendExpander; | struct BlendExpander; | ||||
| struct BlendLibReader; | struct BlendLibReader; | ||||
| struct BlendWriter; | struct BlendWriter; | ||||
| struct Depsgraph; | struct Depsgraph; | ||||
| struct Editing; | struct Editing; | ||||
| struct Scene; | struct Scene; | ||||
| struct Sequence; | struct Sequence; | ||||
| struct SequenceLookup; | struct SequenceLookup; | ||||
| struct SequencerToolSettings; | struct SequencerToolSettings; | ||||
| struct GSet; | |||||
| /* RNA enums, just to be more readable */ | /* RNA enums, just to be more readable */ | ||||
| enum { | enum { | ||||
| SEQ_SIDE_MOUSE = -1, | SEQ_SIDE_MOUSE = -1, | ||||
| SEQ_SIDE_NONE = 0, | SEQ_SIDE_NONE = 0, | ||||
| SEQ_SIDE_LEFT, | SEQ_SIDE_LEFT, | ||||
| SEQ_SIDE_RIGHT, | SEQ_SIDE_RIGHT, | ||||
| SEQ_SIDE_BOTH, | SEQ_SIDE_BOTH, | ||||
| ▲ Show 20 Lines • Show All 118 Lines • ▼ Show 20 Lines | |||||
| void SEQ_sequence_lookup_free(const struct Scene *scene); | void SEQ_sequence_lookup_free(const struct Scene *scene); | ||||
| /** | /** | ||||
| * Find a sequence with a given name. | * Find a sequence with a given name. | ||||
| * | * | ||||
| * \param scene: scene that owns lookup hash | * \param scene: scene that owns lookup hash | ||||
| * \param tag: tag to set | * \param tag: tag to set | ||||
| */ | */ | ||||
| void SEQ_sequence_lookup_tag(const struct Scene *scene, eSequenceLookupTag tag); | void SEQ_sequence_lookup_tag(const struct Scene *scene, eSequenceLookupTag tag); | ||||
| /** | |||||
| * Initialize error log storage if not already initialized. | |||||
| */ | |||||
| void SEQ_editing_seek_error_log_ensure(struct Editing *ed); | |||||
| /** | |||||
| * Acquire seek error log and lock. | |||||
| * | |||||
| * \param Editing: Sequencer data with error log | |||||
| * \param r_error_log: pointer to pointer of `GSet`. This set will contain strips where error | |||||
| * occured | |||||
| * \param r_acknowledged: pointer to pointer of `GSet`. This set will contain strips where error | |||||
| * occured, but the error was displayed to user. This set is managed by area that creates error | |||||
| * reports, not internally | |||||
| */ | |||||
| void SEQ_editing_seek_error_log_acquire(struct Editing *ed, | |||||
| struct GSet **r_error_log, | |||||
| struct GSet **r_acknowledged); | |||||
| /** | |||||
| * Release lock to seek error log | |||||
| */ | |||||
| void SEQ_editing_seek_error_log_release(struct Editing *ed); | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||