summaryrefslogtreecommitdiff
path: root/ace/Msg_WFMO_Reactor.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Msg_WFMO_Reactor.h')
-rw-r--r--ace/Msg_WFMO_Reactor.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/ace/Msg_WFMO_Reactor.h b/ace/Msg_WFMO_Reactor.h
index d86258bb690..af6c2bad214 100644
--- a/ace/Msg_WFMO_Reactor.h
+++ b/ace/Msg_WFMO_Reactor.h
@@ -1,4 +1,4 @@
-// -*- C++ -*-
+/* -*- C++ -*- */
//=============================================================================
/**
@@ -16,7 +16,12 @@
#define ACE_MSG_WFMO_REACTOR_H
#include /**/ "ace/pre.h"
-#include "ace/ACE_export.h"
+#ifdef ACE_REACTOR_BUILD_DLL
+# include "ace/ACE_Reactor_export.h"
+#else
+# include "ace/ACE_export.h"
+# define ACE_Reactor_Export ACE_Export
+#endif /* ACE_REACTOR_BUILD_DLL */
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
@@ -26,8 +31,6 @@
#include "ace/WFMO_Reactor.h"
-ACE_BEGIN_VERSIONED_NAMESPACE_DECL
-
/**
* @class ACE_Msg_WFMO_Reactor
*
@@ -39,7 +42,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL
* its ability to react on Windows messages. It is needed when
* the task should serve also as a COM/DCOM server.
*/
-class ACE_Export ACE_Msg_WFMO_Reactor : public ACE_WFMO_Reactor
+class ACE_Reactor_Export ACE_Msg_WFMO_Reactor : public ACE_WFMO_Reactor
{
public:
// = Initialization and termination methods.
@@ -76,7 +79,7 @@ public:
*
* <MsgWaitForMultipleObjects> is used as the demultiplexing call
*
- * Returns the total number of ACE_Event_Handlers that were
+ * Returns the total number of <ACE_Event_Handler>s that were
* dispatched, 0 if the <max_wait_time> elapsed without dispatching
* any handlers, or -1 if an error occurs.
*
@@ -108,13 +111,11 @@ protected:
virtual int dispatch_window_messages (void);
};
-ACE_END_VERSIONED_NAMESPACE_DECL
+#endif /* ACE_WIN32 && !ACE_LACKS_MSG_WFMO */
#if defined (__ACE_INLINE__)
#include "ace/Msg_WFMO_Reactor.inl"
#endif /* __ACE_INLINE__ */
-#endif /* ACE_WIN32 && !ACE_LACKS_MSG_WFMO */
-
#include /**/ "ace/post.h"
#endif /* ACE_MSG_WFMO_REACTOR_H */