summaryrefslogtreecommitdiffstats
path: root/tests/libsample/multiple_derived.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/multiple_derived.h
parentfc9458dc83858ad76a5d589c3cd787ef5a1d5d16 (diff)
downloadshiboken-982db27e691d4df0276b7e9fbfa471f53c8647a3.tar.gz
shiboken-982db27e691d4df0276b7e9fbfa471f53c8647a3.tar.xz
shiboken-982db27e691d4df0276b7e9fbfa471f53c8647a3.zip
Added visibility rules to libsample.
Diffstat (limited to 'tests/libsample/multiple_derived.h')
-rw-r--r--tests/libsample/multiple_derived.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/libsample/multiple_derived.h b/tests/libsample/multiple_derived.h
index 531cdb28..5ddfd112 100644
--- a/tests/libsample/multiple_derived.h
+++ b/tests/libsample/multiple_derived.h
@@ -35,21 +35,23 @@
#ifndef MDERIVED_H
#define MDERIVED_H
-class MBase1
+#include "libsamplemacros.h"
+
+class LIBSAMPLE_API MBase1
{
public:
~MBase1() {}
virtual const char* name() { return "MBase"; }
};
-class MBase2
+class LIBSAMPLE_API MBase2
{
public:
~MBase2() {}
virtual const char* funcName() { return "MBase2.funcName"; }
};
-class MDerived : public MBase1, public MBase2
+class LIBSAMPLE_API MDerived : public MBase1, public MBase2
{
public:
MDerived();