wrap otio classes in compiler definition

This commit is contained in:
itsmattkc
2021-04-02 15:29:17 +11:00
parent 3b4ce00741
commit 9fad1efe1b
4 changed files with 16 additions and 0 deletions
+4
View File
@@ -20,6 +20,8 @@
#include "loadotio.h"
#ifdef USE_OTIO
#include <opentimelineio/clip.h>
#include <opentimelineio/externalReference.h>
#include <opentimelineio/gap.h>
@@ -191,3 +193,5 @@ bool LoadOTIOTask::Run()
}
}
#endif
+4
View File
@@ -21,6 +21,8 @@
#ifndef OTIODECODER_H
#define OTIODECODER_H
#ifdef USE_OTIO
#include "project/project.h"
#include "task/project/load/loadbasetask.h"
@@ -39,4 +41,6 @@ protected:
}
#endif
#endif // OTIODECODER_H
+4
View File
@@ -20,6 +20,8 @@
#include "saveotio.h"
#ifdef USE_OTIO
#include <opentimelineio/clip.h>
#include <opentimelineio/externalReference.h>
#include <opentimelineio/gap.h>
@@ -204,3 +206,5 @@ bool SaveOTIOTask::SerializeTrackList(TrackList *list, opentimelineio::v1_0::Tim
}
}
#endif
+4
View File
@@ -21,6 +21,8 @@
#ifndef PROJECTSAVEASOTIOTASK_H
#define PROJECTSAVEASOTIOTASK_H
#ifdef USE_OTIO
#include <opentimelineio/timeline.h>
#include <opentimelineio/track.h>
@@ -51,4 +53,6 @@ private:
}
#endif
#endif // PROJECTSAVEASOTIOTASK_H