From 5c1001ce4f585836e1f83c28d1df89aee42fb743 Mon Sep 17 00:00:00 2001 From: levine Date: Tue, 20 Oct 1998 02:34:57 +0000 Subject: changed include protection from #if !defined to ifndef, and added #pragma once, if possible --- ace/CLASSIX/CLASSIX_SAP.h | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'ace/CLASSIX/CLASSIX_SAP.h') 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 // is for peer SAP. // // = SEE ALSO // - // + // { 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 -- cgit v1.2.1