Skip to content

Commit f3cb304

Browse files
authored
Add missing export markers (OTIO_API) for constructors (AcademySoftwareFoundation#1992)
Signed-off-by: Julius Künzel <julius.kuenzel@kde.org>
1 parent 5cb38bc commit f3cb304

7 files changed

Lines changed: 7 additions & 6 deletions

File tree

src/opentimelineio/effect.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class OTIO_API_TYPE Effect : public SerializableObjectWithMetadata
2727
/// @param name The name of the effect.
2828
/// @param metadata The metadata for the clip.
2929
/// @param enabled Whether the effect is enabled.
30-
Effect(
30+
OTIO_API Effect(
3131
std::string const& name = std::string(),
3232
std::string const& effect_name = std::string(),
3333
AnyDictionary const& metadata = AnyDictionary(),

src/opentimelineio/freezeFrame.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class OTIO_API_TYPE FreezeFrame : public LinearTimeWarp
2525
///
2626
/// @param name The name of the time effect.
2727
/// @param metadata The metadata for the time effect.
28-
FreezeFrame(
28+
OTIO_API FreezeFrame(
2929
std::string const& name = std::string(),
3030
AnyDictionary const& metadata = AnyDictionary());
3131

src/opentimelineio/gap.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ class OTIO_API_TYPE Gap : public Item
4747
/// @param markers The list of markers for the gap. Note that the
4848
/// the gap keeps a retainer to each marker.
4949
/// @param metadata The metadata for the gap.
50+
OTIO_API
5051
Gap(RationalTime duration,
5152
std::string const& name = std::string(),
5253
std::vector<Effect*> const& effects = std::vector<Effect*>(),

src/opentimelineio/generatorReference.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class OTIO_API_TYPE GeneratorReference final : public MediaReference
2929
/// @param parameters The parameters used to configure the generator.
3030
/// @param metadata The metadata for the generator.
3131
/// @param available_image_bounds The spatial bounds of the generator.
32-
GeneratorReference(
32+
OTIO_API GeneratorReference(
3333
std::string const& name = std::string(),
3434
std::string const& generator_kind = std::string(),
3535
std::optional<TimeRange> const& available_range = std::nullopt,

src/opentimelineio/imageSequenceReference.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class OTIO_API_TYPE ImageSequenceReference final : public MediaReference
5050
/// @param available_range The available range of the image sequence.
5151
/// @param metadata The metadata for the image sequence.
5252
/// @param available_image_bounds The spatial bounds of the image sequence.
53-
ImageSequenceReference(
53+
OTIO_API ImageSequenceReference(
5454
std::string const& target_url_base = std::string(),
5555
std::string const& name_prefix = std::string(),
5656
std::string const& name_suffix = std::string(),

src/opentimelineio/missingReference.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class OTIO_API_TYPE MissingReference final : public MediaReference
3030
/// @param available_range The available range of the missing reference.
3131
/// @param metadata The metadata for the missing reference.
3232
/// @param available_image_bounds The spatial bounds for the missing reference.
33-
MissingReference(
33+
OTIO_API MissingReference(
3434
std::string const& name = std::string(),
3535
std::optional<TimeRange> const& available_range = std::nullopt,
3636
AnyDictionary const& metadata = AnyDictionary(),

src/opentimelineio/timeEffect.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class OTIO_API_TYPE TimeEffect : public Effect
2626
/// @param name The name of the object.
2727
/// @param effect_name The time effect name.
2828
/// @param metadata The metadata for the time effect.
29-
TimeEffect(
29+
OTIO_API TimeEffect(
3030
std::string const& name = std::string(),
3131
std::string const& effect_name = std::string(),
3232
AnyDictionary const& metadata = AnyDictionary());

0 commit comments

Comments
 (0)