wrap otio classes in compiler definition
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user