summaryrefslogtreecommitdiffstats
path: root/tests/libsample/samplenamespace.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsample/samplenamespace.h')
-rw-r--r--tests/libsample/samplenamespace.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/tests/libsample/samplenamespace.h b/tests/libsample/samplenamespace.h
index 420b7a77..5d58ac27 100644
--- a/tests/libsample/samplenamespace.h
+++ b/tests/libsample/samplenamespace.h
@@ -35,32 +35,34 @@
#ifndef SAMPLENAMESPACE_H
#define SAMPLENAMESPACE_H
+#include "libsamplemacros.h"
+
namespace SampleNamespace
{
-enum Option {
+enum LIBSAMPLE_API Option {
None,
RandomNumber,
UnixTime
};
-enum InValue {
+enum LIBSAMPLE_API InValue {
ZeroIn,
OneIn,
TwoIn
};
-enum OutValue {
+enum LIBSAMPLE_API OutValue {
ZeroOut,
OneOut,
TwoOut
};
-OutValue enumInEnumOut(InValue in);
+LIBSAMPLE_API OutValue enumInEnumOut(InValue in);
-int getNumber(Option opt);
+LIBSAMPLE_API int getNumber(Option opt);
-inline double powerOfTwo(double num) {
+LIBSAMPLE_API inline double powerOfTwo(double num) {
return num * num;
}