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/Service_Config.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/Service_Config.h')
-rw-r--r-- | ace/Service_Config.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/ace/Service_Config.h b/ace/Service_Config.h index 9d0725c75b9..b9238c199ee 100644 --- a/ace/Service_Config.h +++ b/ace/Service_Config.h @@ -18,14 +18,15 @@ #define ACE_SERVICE_CONFIG_H #include "ace/Service_Object.h" -#include "ace/Signal.h" -#include "ace/Containers.h" -#include "ace/SString.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) -#pragma once +# pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ +#include "ace/Signal.h" +#include "ace/Containers.h" +#include "ace/SString.h" + // Forward decl. class ACE_Service_Repository; class ACE_Service_Type; @@ -71,9 +72,9 @@ public: }; // Maintain a set of the statically linked service descriptors. -typedef ACE_Unbounded_Set<ACE_Static_Svc_Descriptor *> +typedef ACE_Unbounded_Set<ACE_Static_Svc_Descriptor *> ACE_STATIC_SVCS; -typedef ACE_Unbounded_Set_Iterator<ACE_Static_Svc_Descriptor *> +typedef ACE_Unbounded_Set_Iterator<ACE_Static_Svc_Descriptor *> ACE_STATIC_SVCS_ITERATOR; // Maintain a queue of services to be configured from the @@ -106,7 +107,7 @@ public: int signum = SIGHUP); // Initialize the Service Repository. - ACE_Service_Config (const ASYS_TCHAR program_name[], + ACE_Service_Config (const ASYS_TCHAR program_name[], LPCTSTR logger_key = ACE_DEFAULT_LOGGER_KEY); // Performs an open without parsing command-line arguments. |