summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/background/Configuration.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/background/Configuration.h')
-rw-r--r--cpp/test/Ice/background/Configuration.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/cpp/test/Ice/background/Configuration.h b/cpp/test/Ice/background/Configuration.h
index d75c61b0ff2..56f361e1c04 100644
--- a/cpp/test/Ice/background/Configuration.h
+++ b/cpp/test/Ice/background/Configuration.h
@@ -16,10 +16,20 @@
#include <Ice/LocalException.h>
#include <Ice/Selector.h>
+#ifndef TEST_API
+# if defined(ICE_STATIC_LIBS)
+# define TEST_API /**/
+# elif defined(TEST_API_EXPORTS)
+# define TEST_API ICE_DECLSPEC_EXPORT
+# else
+# define TEST_API ICE_DECLSPEC_IMPORT
+# endif
+#endif
+
class Configuration;
typedef IceUtil::Handle<Configuration> ConfigurationPtr;
-class Configuration : public IceUtil::Shared, public IceUtil::Mutex
+class TEST_API Configuration : public IceUtil::Shared, public IceUtil::Mutex
{
public:
@@ -49,7 +59,7 @@ public:
void buffered(bool);
bool buffered();
-
+
static Configuration* getInstance();
private: