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/oddbool.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/oddbool.h')
-rw-r--r-- | tests/libsample/oddbool.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/libsample/oddbool.h b/tests/libsample/oddbool.h index fb7d9ff2..0d256576 100644 --- a/tests/libsample/oddbool.h +++ b/tests/libsample/oddbool.h @@ -35,7 +35,9 @@ #ifndef ODDBOOL_H #define ODDBOOL_H -class OddBool +#include "libsamplemacros.h" + +class LIBSAMPLE_API OddBool { public: @@ -55,7 +57,7 @@ inline bool operator!=(OddBool b1, bool b2) { return !b1 != !b2; } inline bool operator!=(bool b1, OddBool b2) { return !b1 != !b2; } inline bool operator!=(OddBool b1, OddBool b2) { return !b1 != !b2; } -class OddBoolUser +class LIBSAMPLE_API OddBoolUser { public: OddBoolUser() : m_oddbool(OddBool(false)) {}; |