summaryrefslogtreecommitdiff
path: root/ace/Strategies.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 02:34:57 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 02:34:57 +0000
commit5c1001ce4f585836e1f83c28d1df89aee42fb743 (patch)
tree5967e9ca7d44ed1d2823be9746817ebb8e025f5d /ace/Strategies.h
parent2ae14b2b85ad813a269e8a5529aa76cf984fa8a5 (diff)
downloadATCD-5c1001ce4f585836e1f83c28d1df89aee42fb743.tar.gz
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'ace/Strategies.h')
-rw-r--r--ace/Strategies.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/ace/Strategies.h b/ace/Strategies.h
index e06bd9a6963..8e8407b3a6e 100644
--- a/ace/Strategies.h
+++ b/ace/Strategies.h
@@ -20,7 +20,7 @@
#include "ace/Event_Handler.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
+# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
// Forward decls.
@@ -37,12 +37,12 @@ class ACE_Export ACE_Notification_Strategy
// the Bridge/Strategy patterns.
public:
ACE_Notification_Strategy (ACE_Event_Handler *eh,
- ACE_Reactor_Mask mask);
+ ACE_Reactor_Mask mask);
virtual ~ACE_Notification_Strategy (void);
virtual int notify (void) = 0;
virtual int notify (ACE_Event_Handler *,
- ACE_Reactor_Mask mask) = 0;
+ ACE_Reactor_Mask mask) = 0;
// Get/Set the event handler
ACE_Event_Handler *event_handler (void);
@@ -67,8 +67,8 @@ class ACE_Export ACE_Reactor_Notification_Strategy : public ACE_Notification_Str
// ACE_Reactor::notify() method.
public:
ACE_Reactor_Notification_Strategy (ACE_Reactor *reactor,
- ACE_Event_Handler *eh,
- ACE_Reactor_Mask mask);
+ ACE_Event_Handler *eh,
+ ACE_Reactor_Mask mask);
~ACE_Reactor_Notification_Strategy (void);
// Default dtor.
@@ -76,7 +76,7 @@ public:
virtual int notify (void);
virtual int notify (ACE_Event_Handler *,
- ACE_Reactor_Mask mask);
+ ACE_Reactor_Mask mask);
// Get/Set the reactor
ACE_Reactor *reactor (void);
@@ -114,7 +114,7 @@ protected:
class ACE_Export ACE_Recyclable
{
public:
- enum State
+ enum State
{
IDLE,
BUSY,