diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-10-24 10:58:46 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:18:31 -0300 |
commit | c995a7d382e1a51b0898939e51ff18dabdac027d (patch) | |
tree | 534f43ed94ddd49067b8be918fd515b738a909f3 /tests | |
parent | b64c2001d14b8b1102af6b6029eb9c317e5d8008 (diff) |
Added the API exporting macro to the protected test classes.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libsample/protected.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/libsample/protected.h b/tests/libsample/protected.h index 1dc628d84..51b277f90 100644 --- a/tests/libsample/protected.h +++ b/tests/libsample/protected.h @@ -29,7 +29,7 @@ #include <string> #include <list> -class ProtectedNonPolymorphic +class LIBSAMPLE_API ProtectedNonPolymorphic { public: explicit ProtectedNonPolymorphic(const char *name) : m_name(name) {} @@ -51,7 +51,7 @@ private: std::string m_name; }; -class ProtectedPolymorphic +class LIBSAMPLE_API ProtectedPolymorphic { public: explicit ProtectedPolymorphic(const char *name) : m_name(name) {} @@ -68,14 +68,14 @@ private: std::string m_name; }; -class ProtectedPolymorphicDaughter : public ProtectedPolymorphic +class LIBSAMPLE_API ProtectedPolymorphicDaughter : public ProtectedPolymorphic { public: explicit ProtectedPolymorphicDaughter(const char *name) : ProtectedPolymorphic(name) {} inline static ProtectedPolymorphicDaughter* create() { return new ProtectedPolymorphicDaughter("created"); } }; -class ProtectedPolymorphicGrandDaughter: public ProtectedPolymorphicDaughter +class LIBSAMPLE_API ProtectedPolymorphicGrandDaughter: public ProtectedPolymorphicDaughter { public: explicit ProtectedPolymorphicGrandDaughter(const char *name) : ProtectedPolymorphicDaughter(name) {} @@ -95,7 +95,7 @@ private: static int dtor_called; }; -class ProtectedEnumClass +class LIBSAMPLE_API ProtectedEnumClass { public: ProtectedEnumClass() {} @@ -117,7 +117,7 @@ protected: }; -class ProtectedProperty +class LIBSAMPLE_API ProtectedProperty { public: ProtectedProperty() |