diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Logger/server_i.h')
-rw-r--r-- | TAO/orbsvcs/tests/Logger/server_i.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/TAO/orbsvcs/tests/Logger/server_i.h b/TAO/orbsvcs/tests/Logger/server_i.h index 94b95ae1d6a..0a8736a8ab0 100644 --- a/TAO/orbsvcs/tests/Logger/server_i.h +++ b/TAO/orbsvcs/tests/Logger/server_i.h @@ -19,10 +19,15 @@ // // ============================================================================ -#if !defined (_C_SERVER_H) +#ifndef _C_SERVER_H #define _C_SERVER_H #include "ace/Get_Opt.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + #include "ace/Log_Msg.h" #include "tao/TAO.h" #include "orbsvcs/CosNamingC.h" @@ -50,11 +55,11 @@ public: int init (int argc, char **argv, - CORBA::Environment& env); + CORBA::Environment& env); // Initialize the Logger_Server state - parsing arguments and ... int run (CORBA::Environment& env); - // Run the ORB. + // Run the ORB. private: int parse_args (void); @@ -73,7 +78,7 @@ private: Logger_Factory_i factory_impl_; // Implementation object of the Logger_Factory. - + Logger_Factory_var factory_; // Factory_var to register with NamingService. |