diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-20 02:34:57 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-20 02:34:57 +0000 |
commit | 5c1001ce4f585836e1f83c28d1df89aee42fb743 (patch) | |
tree | 5967e9ca7d44ed1d2823be9746817ebb8e025f5d /ace/CLASSIX/CLASSIX_SAP.h | |
parent | 2ae14b2b85ad813a269e8a5529aa76cf984fa8a5 (diff) | |
download | ATCD-5c1001ce4f585836e1f83c28d1df89aee42fb743.tar.gz |
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'ace/CLASSIX/CLASSIX_SAP.h')
-rw-r--r-- | ace/CLASSIX/CLASSIX_SAP.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/ace/CLASSIX/CLASSIX_SAP.h b/ace/CLASSIX/CLASSIX_SAP.h index 5301c2e226e..cefbdf031c8 100644 --- a/ace/CLASSIX/CLASSIX_SAP.h +++ b/ace/CLASSIX/CLASSIX_SAP.h @@ -5,13 +5,13 @@ // // = LIBRARY // ace -// +// // = FILENAME // CLASSIX_SAP.h // // = AUTHOR(S) // Nokia Telecommunications -// +// // ============================================================================ #ifndef ACE_CLASSIX_SAP_H @@ -20,28 +20,32 @@ /* ------------------------------------------------------------------------- */ #include "ace/CLASSIX/CLASSIX_Port.h" +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + class ACE_CLASSIX_SAP // = TITLE // Class implementing the SAP over a Chorus port. - // + // // = DESCRIPTION // A SAP has a port which is referred to as the local port. // This class provides methods to manipulate this port. // // The SAP will always put the port in DISABLED state on exit. - // + // // In CLASSIX, a local SAP is always a port, a peer SAP can be // a port or a group of port. This class is for local SAP and // <ACE_Peer_SAP> is for peer SAP. // // = SEE ALSO // <ACE_Peer_SAP> - // + // { public: enum { - DEFAULT_PRIORITY = 10 + DEFAULT_PRIORITY = 10 }; // = INITIALIZATION @@ -106,7 +110,7 @@ class ACE_CLASSIX_SAP int control(u_int, /* mode */ int /* site */ ); // Interface for CLASSIX' send mode #endif - + // = HELPER void dump(void) const; @@ -117,7 +121,7 @@ class ACE_CLASSIX_SAP protected: #if 0 - virtual set_mode_(u_int = K_BROADMODE); /* theMode */ + virtual set_mode_(u_int = K_BROADMODE); /* theMode */ // Sets the addressing mode with the current setting of coTarget virtual set_mode_(u_int, /* mode */ int /* site */); // Sets the addressing mode as well as the coTarget |