summaryrefslogtreecommitdiff
path: root/libs/evoral/evoral/TimeConverter.hpp
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2014-01-12 17:36:17 +0000
committerJohn Emmas <johne53@tiscali.co.uk>2014-01-12 17:36:17 +0000
commitdd8ba245bb07a3e057824ee0fd73c03a7c3fa1c2 (patch)
tree3d5f61f97e5d557fe7276d8e3a6e0ae9b17c2930 /libs/evoral/evoral/TimeConverter.hpp
parent897fbdc652434d3aa1e67223c3c3ef7ae9be2318 (diff)
'libs/evoral' - DLL visibility stuff and associated changes needed for building with MSVC. Currently includes debugging information and things that are just commented out until we have known compatibility with the other platforms (i.e. contains stuff to be removed at a later date)
Diffstat (limited to 'libs/evoral/evoral/TimeConverter.hpp')
-rw-r--r--libs/evoral/evoral/TimeConverter.hpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/libs/evoral/evoral/TimeConverter.hpp b/libs/evoral/evoral/TimeConverter.hpp
index e46e9e2d1a..29576c6ee8 100644
--- a/libs/evoral/evoral/TimeConverter.hpp
+++ b/libs/evoral/evoral/TimeConverter.hpp
@@ -65,11 +65,16 @@ protected:
* going on.
*/
template<typename A, typename B>
-class LIBEVORAL_API IdentityConverter : public TimeConverter<A,B> {
+class /*LIBEVORAL_API*/ IdentityConverter : public TimeConverter<A,B> {
public:
- IdentityConverter() {}
+ LIBEVORAL_API /* Added by JE - 27-10-2013 */IdentityConverter() {}
+
+ LIBEVORAL_API /* Added by JE - 27-10-2013 */B to(A a) const;
+ LIBEVORAL_API /* Added by JE - 27-10-2013 */A from(B b) const;
+/* Changed by JE - 27-10-2013. Was formerly. . .
B to(A a) const { return static_cast<B>(a); }
A from(B b) const { return static_cast<A>(b); }
+*/
};