projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tweak b7e645ec6, use session start/end position
[ardour.git]
/
libs
/
evoral
/
evoral
/
TimeConverter.hpp
diff --git
a/libs/evoral/evoral/TimeConverter.hpp
b/libs/evoral/evoral/TimeConverter.hpp
index 5572876cef6f7aeda86122cb9f99055f6bb9bec9..6c02507c174aaf2b52544104b3be038e9dca3d96 100644
(file)
--- a/
libs/evoral/evoral/TimeConverter.hpp
+++ b/
libs/evoral/evoral/TimeConverter.hpp
@@
-39,7
+39,7
@@
class LIBEVORAL_TEMPLATE_API TimeConverter {
public:
TimeConverter () : _origin_b (0) {}
TimeConverter (B ob) : _origin_b (ob) {}
public:
TimeConverter () : _origin_b (0) {}
TimeConverter (B ob) : _origin_b (ob) {}
- virtual ~TimeConverter()
{}
+ virtual ~TimeConverter()
;
/** Convert A time to B time (A to B) */
virtual B to(A a) const = 0;
/** Convert A time to B time (A to B) */
virtual B to(A a) const = 0;
@@
-50,7
+50,7
@@
public:
B origin_b () const {
return _origin_b;
}
B origin_b () const {
return _origin_b;
}
-
+
void set_origin_b (B o) {
_origin_b = o;
}
void set_origin_b (B o) {
_origin_b = o;
}
@@
-68,7
+68,7
@@
template<typename A, typename B>
class LIBEVORAL_TEMPLATE_API IdentityConverter : public TimeConverter<A,B> {
public:
IdentityConverter() {}
class LIBEVORAL_TEMPLATE_API IdentityConverter : public TimeConverter<A,B> {
public:
IdentityConverter() {}
-
+
B to(A a) const;
A from(B b) const;
};
B to(A a) const;
A from(B b) const;
};