summaryrefslogtreecommitdiffstats
path: root/tests/libsample/oddbool.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/oddbool.h
parentfc9458dc83858ad76a5d589c3cd787ef5a1d5d16 (diff)
downloadshiboken-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.h6
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)) {};