aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/str.h
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-11-23 21:18:29 -0200
committerHugo Lima <hugo.lima@openbossa.org>2009-11-23 22:39:54 -0200
commit982db27e691d4df0276b7e9fbfa471f53c8647a3 (patch)
tree2be4f01884dad561e171192445be88b60da031ab /tests/libsample/str.h
parentfc9458dc83858ad76a5d589c3cd787ef5a1d5d16 (diff)
Added visibility rules to libsample.
Diffstat (limited to 'tests/libsample/str.h')
-rw-r--r--tests/libsample/str.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/libsample/str.h b/tests/libsample/str.h
index 31266753e..52f46e6ba 100644
--- a/tests/libsample/str.h
+++ b/tests/libsample/str.h
@@ -36,7 +36,9 @@
#define STR_H
#include <string>
-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