diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2009-11-23 21:18:29 -0200 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2009-11-23 22:39:54 -0200 |
commit | 982db27e691d4df0276b7e9fbfa471f53c8647a3 (patch) | |
tree | 2be4f01884dad561e171192445be88b60da031ab /tests/libsample/str.h | |
parent | fc9458dc83858ad76a5d589c3cd787ef5a1d5d16 (diff) | |
download | shiboken-982db27e691d4df0276b7e9fbfa471f53c8647a3.tar.gz shiboken-982db27e691d4df0276b7e9fbfa471f53c8647a3.tar.xz shiboken-982db27e691d4df0276b7e9fbfa471f53c8647a3.zip |
Added visibility rules to libsample.
Diffstat (limited to 'tests/libsample/str.h')
-rw-r--r-- | tests/libsample/str.h | 8 |
1 files changed, 5 insertions, 3 deletions
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 <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 |