From 8efc6b983646b6243c864b41e3319b55ab065812 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20K=C3=BCnzel?= Date: Sun, 18 Jan 2026 00:51:17 +0100 Subject: [PATCH] Add missing export markers (OTIO_API) for constructors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Künzel --- src/opentimelineio/effect.h | 2 +- src/opentimelineio/freezeFrame.h | 2 +- src/opentimelineio/gap.h | 1 + src/opentimelineio/generatorReference.h | 2 +- src/opentimelineio/imageSequenceReference.h | 2 +- src/opentimelineio/missingReference.h | 2 +- src/opentimelineio/timeEffect.h | 2 +- 7 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/opentimelineio/effect.h b/src/opentimelineio/effect.h index 600726869..a48ff588b 100644 --- a/src/opentimelineio/effect.h +++ b/src/opentimelineio/effect.h @@ -27,7 +27,7 @@ class OTIO_API_TYPE Effect : public SerializableObjectWithMetadata /// @param name The name of the effect. /// @param metadata The metadata for the clip. /// @param enabled Whether the effect is enabled. - Effect( + OTIO_API Effect( std::string const& name = std::string(), std::string const& effect_name = std::string(), AnyDictionary const& metadata = AnyDictionary(), diff --git a/src/opentimelineio/freezeFrame.h b/src/opentimelineio/freezeFrame.h index 2c61097b4..25df4d81d 100644 --- a/src/opentimelineio/freezeFrame.h +++ b/src/opentimelineio/freezeFrame.h @@ -25,7 +25,7 @@ class OTIO_API_TYPE FreezeFrame : public LinearTimeWarp /// /// @param name The name of the time effect. /// @param metadata The metadata for the time effect. - FreezeFrame( + OTIO_API FreezeFrame( std::string const& name = std::string(), AnyDictionary const& metadata = AnyDictionary()); diff --git a/src/opentimelineio/gap.h b/src/opentimelineio/gap.h index eb1857227..071ceb906 100644 --- a/src/opentimelineio/gap.h +++ b/src/opentimelineio/gap.h @@ -47,6 +47,7 @@ class OTIO_API_TYPE Gap : public Item /// @param markers The list of markers for the gap. Note that the /// the gap keeps a retainer to each marker. /// @param metadata The metadata for the gap. + OTIO_API Gap(RationalTime duration, std::string const& name = std::string(), std::vector const& effects = std::vector(), diff --git a/src/opentimelineio/generatorReference.h b/src/opentimelineio/generatorReference.h index 8884bd81e..15f78d659 100644 --- a/src/opentimelineio/generatorReference.h +++ b/src/opentimelineio/generatorReference.h @@ -29,7 +29,7 @@ class OTIO_API_TYPE GeneratorReference final : public MediaReference /// @param parameters The parameters used to configure the generator. /// @param metadata The metadata for the generator. /// @param available_image_bounds The spatial bounds of the generator. - GeneratorReference( + OTIO_API GeneratorReference( std::string const& name = std::string(), std::string const& generator_kind = std::string(), std::optional const& available_range = std::nullopt, diff --git a/src/opentimelineio/imageSequenceReference.h b/src/opentimelineio/imageSequenceReference.h index 6754f4db1..007a9f633 100644 --- a/src/opentimelineio/imageSequenceReference.h +++ b/src/opentimelineio/imageSequenceReference.h @@ -50,7 +50,7 @@ class OTIO_API_TYPE ImageSequenceReference final : public MediaReference /// @param available_range The available range of the image sequence. /// @param metadata The metadata for the image sequence. /// @param available_image_bounds The spatial bounds of the image sequence. - ImageSequenceReference( + OTIO_API ImageSequenceReference( std::string const& target_url_base = std::string(), std::string const& name_prefix = std::string(), std::string const& name_suffix = std::string(), diff --git a/src/opentimelineio/missingReference.h b/src/opentimelineio/missingReference.h index 1eefd49ff..093e6d9ee 100644 --- a/src/opentimelineio/missingReference.h +++ b/src/opentimelineio/missingReference.h @@ -30,7 +30,7 @@ class OTIO_API_TYPE MissingReference final : public MediaReference /// @param available_range The available range of the missing reference. /// @param metadata The metadata for the missing reference. /// @param available_image_bounds The spatial bounds for the missing reference. - MissingReference( + OTIO_API MissingReference( std::string const& name = std::string(), std::optional const& available_range = std::nullopt, AnyDictionary const& metadata = AnyDictionary(), diff --git a/src/opentimelineio/timeEffect.h b/src/opentimelineio/timeEffect.h index 82d2af621..437135bef 100644 --- a/src/opentimelineio/timeEffect.h +++ b/src/opentimelineio/timeEffect.h @@ -26,7 +26,7 @@ class OTIO_API_TYPE TimeEffect : public Effect /// @param name The name of the object. /// @param effect_name The time effect name. /// @param metadata The metadata for the time effect. - TimeEffect( + OTIO_API TimeEffect( std::string const& name = std::string(), std::string const& effect_name = std::string(), AnyDictionary const& metadata = AnyDictionary());