Skip to content

Commit 19698db

Browse files
committed
Add missing export markers (OTIO_API) for constructors
Signed-off-by: Julius Künzel <julius.kuenzel@kde.org>
1 parent 2429dd5 commit 19698db

8 files changed

Lines changed: 11 additions & 10 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/errorStatus.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,21 +49,21 @@ struct OTIO_API_TYPE ErrorStatus
4949
};
5050

5151
/// @brief Construct a new status with no error.
52-
ErrorStatus()
52+
OTIO_API ErrorStatus()
5353
: outcome(OK)
5454
, object_details(nullptr)
5555
{}
5656

5757
/// @brief Construct a new status with the given outcome.
58-
ErrorStatus(Outcome in_outcome)
58+
OTIO_API ErrorStatus(Outcome in_outcome)
5959
: outcome(in_outcome)
6060
, details(outcome_to_string(in_outcome))
6161
, full_description(details)
6262
, object_details(nullptr)
6363
{}
6464

6565
/// @brief Construct a new status with the given outcome, details, and object.
66-
ErrorStatus(
66+
OTIO_API ErrorStatus(
6767
Outcome in_outcome,
6868
std::string const& in_details,
6969
SerializableObject const* object = nullptr)
@@ -74,7 +74,7 @@ struct OTIO_API_TYPE ErrorStatus
7474
{}
7575

7676
/// @brief Copy operator.
77-
ErrorStatus& operator=(Outcome in_outcome)
77+
OTIO_API ErrorStatus& operator=(Outcome in_outcome)
7878
{
7979
*this = ErrorStatus(in_outcome);
8080
return *this;

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)