diff options
Diffstat (limited to 'TAO/orbsvcs/Logging_Service/Basic_Logging_Service/Basic_Logging_Service.h')
-rw-r--r-- | TAO/orbsvcs/Logging_Service/Basic_Logging_Service/Basic_Logging_Service.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/TAO/orbsvcs/Logging_Service/Basic_Logging_Service/Basic_Logging_Service.h b/TAO/orbsvcs/Logging_Service/Basic_Logging_Service/Basic_Logging_Service.h index 57066ebf020..077f18aa6ce 100644 --- a/TAO/orbsvcs/Logging_Service/Basic_Logging_Service/Basic_Logging_Service.h +++ b/TAO/orbsvcs/Logging_Service/Basic_Logging_Service/Basic_Logging_Service.h @@ -18,6 +18,7 @@ #define BASIC_LOGGING_SERVICE_H #include "ace/Task.h" +#include "ace/SString.h" #include "orbsvcs/CosNamingC.h" #include "orbsvcs/DsLogAdminC.h" #include "orbsvcs/Log/BasicLogFactory_i.h" @@ -39,7 +40,7 @@ class Basic_Logging_Service virtual ~Basic_Logging_Service (void); // Destructor. - int init (int argc, char *argv[] ACE_ENV_ARG_DECL); + int init (int argc, ACE_TCHAR *argv[] ACE_ENV_ARG_DECL); // Initializes the Telecom Log Service. // Returns 0 on success, -1 on error. @@ -52,11 +53,11 @@ class Basic_Logging_Service // Returns 0 on success, -1 on error. protected: - void init_ORB (int& argc, char *argv [] + void init_ORB (int& argc, char *argv[] ACE_ENV_ARG_DECL); // initialize the ORB. - int parse_args (int argc, char *argv []); + int parse_args (int argc, ACE_TCHAR *argv[]); // Parses the command line arguments. void resolve_naming_service (ACE_ENV_SINGLE_ARG_DECL); @@ -78,13 +79,13 @@ protected: CosNaming::NamingContext_var naming_; // A naming context. - const char* service_name_; + ACE_CString service_name_; // The name we use to bind with the NameService - const char* ior_file_name_; + ACE_CString ior_file_name_; // The name of the file where we output the factory IOR. - const char* pid_file_name_; + ACE_CString pid_file_name_; // The name of the file where we output the process id. int bind_to_naming_service_; |