From 982db27e691d4df0276b7e9fbfa471f53c8647a3 Mon Sep 17 00:00:00 2001 From: Hugo Lima Date: Mon, 23 Nov 2009 21:18:29 -0200 Subject: Added visibility rules to libsample. --- tests/libsample/str.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tests/libsample/str.h') diff --git a/tests/libsample/str.h b/tests/libsample/str.h index 31266753..52f46e6b 100644 --- a/tests/libsample/str.h +++ b/tests/libsample/str.h @@ -36,7 +36,9 @@ #define STR_H #include -class Str +#include "libsamplemacros.h" + +class LIBSAMPLE_API Str { public: Str(const Str& s); @@ -64,10 +66,10 @@ private: void init(const char* cstr); std::string m_str; - friend Str operator+(int number, const Str& str); + friend LIBSAMPLE_API Str operator+(int number, const Str& str); }; -Str operator+(int number, const Str& str); +LIBSAMPLE_API Str operator+(int number, const Str& str); #endif // STR_H -- cgit