From 0398410e8894287da530cfb63d6344817445bfc2 Mon Sep 17 00:00:00 2001 From: "Stephen D. Huston" Date: Thu, 12 Mar 2009 20:55:34 +0000 Subject: Changes to build DLLs instead of static libs on Windows; primarily added decorators to exported names. Fixes QPID-1673 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@753014 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/sys/PollableCondition.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'cpp/src/qpid/sys/PollableCondition.h') diff --git a/cpp/src/qpid/sys/PollableCondition.h b/cpp/src/qpid/sys/PollableCondition.h index 49e84e6cb0..f49fb22cb4 100644 --- a/cpp/src/qpid/sys/PollableCondition.h +++ b/cpp/src/qpid/sys/PollableCondition.h @@ -23,6 +23,7 @@ */ #include "qpid/sys/Poller.h" +#include "qpid/CommonImportExport.h" #include #include @@ -36,35 +37,35 @@ class PollableCondition { public: typedef boost::function1 Callback; - PollableCondition(const Callback& cb, + QPID_COMMON_EXTERN PollableCondition(const Callback& cb, const boost::shared_ptr& poller); - ~PollableCondition(); + QPID_COMMON_EXTERN ~PollableCondition(); /** * Set the condition. Triggers callback to Callback from Poller. * When callback is made, condition is suspended. Call rearm() to * resume reacting to the condition. */ - void set(); + QPID_COMMON_EXTERN void set(); /** * Get the current state of the condition, then clear it. * * @return The state of the condition before it was cleared. */ - bool clear(); + QPID_COMMON_EXTERN bool clear(); /** * Temporarily suspend the ability for the poller to react to the * condition. It can be rearm()ed later. */ - void disarm(); + QPID_COMMON_EXTERN void disarm(); /** * Reset the ability for the poller to react to the condition. */ - void rearm(); + QPID_COMMON_EXTERN void rearm(); private: PollableConditionPrivate *impl; -- cgit v1.2.1