summaryrefslogtreecommitdiff
path: root/libs/evoral/evoral/Range.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/evoral/evoral/Range.hpp')
-rw-r--r--libs/evoral/evoral/Range.hpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/libs/evoral/evoral/Range.hpp b/libs/evoral/evoral/Range.hpp
index 02d92100b9..689dc439b4 100644
--- a/libs/evoral/evoral/Range.hpp
+++ b/libs/evoral/evoral/Range.hpp
@@ -21,9 +21,11 @@
#include <list>
+#include "evoral/visibility.h"
+
namespace Evoral {
-enum OverlapType {
+enum /*LIBEVORAL_API*/ OverlapType {
OverlapNone, // no overlap
OverlapInternal, // the overlap is 100% with the object
OverlapStart, // overlap covers start, but ends within
@@ -32,7 +34,7 @@ enum OverlapType {
};
template<typename T>
-OverlapType coverage (T sa, T ea, T sb, T eb) {
+/*LIBEVORAL_API*/ OverlapType coverage (T sa, T ea, T sb, T eb) {
/* OverlapType returned reflects how the second (B)
range overlaps the first (A).
@@ -107,7 +109,7 @@ OverlapType coverage (T sa, T ea, T sb, T eb) {
/** Type to describe a time range */
template<typename T>
-struct Range {
+struct /*LIBEVORAL_API*/ Range {
Range (T f, T t) : from (f), to (t) {}
T from; ///< start of the range
T to; ///< end of the range
@@ -119,7 +121,7 @@ bool operator== (Range<T> a, Range<T> b) {
}
template<typename T>
-class RangeList {
+class /*LIBEVORAL_API*/ RangeList {
public:
RangeList () : _dirty (false) {}
@@ -172,7 +174,7 @@ private:
/** Type to describe the movement of a time range */
template<typename T>
-struct RangeMove {
+struct /*LIBEVORAL_API*/ RangeMove {
RangeMove (T f, double l, T t) : from (f), length (l), to (t) {}
T from; ///< start of the range
double length; ///< length of the range