From 06ad7cf9ccba123fd26af77cc04f974be2171613 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Fri, 3 Oct 2008 11:09:51 +0000 Subject: Fri Oct 3 11:08:45 UTC 2008 Johnny Willemsen --- TAO/examples/Callback_Quoter/Consumer_Handler.cpp | 4 ++-- TAO/examples/Callback_Quoter/Consumer_Handler.h | 2 +- TAO/examples/Callback_Quoter/Supplier_i.cpp | 4 ++-- TAO/examples/Callback_Quoter/Supplier_i.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'TAO/examples/Callback_Quoter') diff --git a/TAO/examples/Callback_Quoter/Consumer_Handler.cpp b/TAO/examples/Callback_Quoter/Consumer_Handler.cpp index 8871e69fb2f..8f3ecd1682e 100644 --- a/TAO/examples/Callback_Quoter/Consumer_Handler.cpp +++ b/TAO/examples/Callback_Quoter/Consumer_Handler.cpp @@ -62,7 +62,7 @@ Consumer_Handler::~Consumer_Handler (void) // Reads the Server factory IOR from a file. int -Consumer_Handler::read_ior (char *filename) +Consumer_Handler::read_ior (ACE_TCHAR *filename) { // Open the file for reading. ACE_HANDLE f_handle = ACE_OS::open (filename, 0); @@ -70,7 +70,7 @@ Consumer_Handler::read_ior (char *filename) if (f_handle == ACE_INVALID_HANDLE) ACE_ERROR_RETURN ((LM_ERROR, "Unable to open %s for reading: %p\n", - ACE_TEXT_CHAR_TO_TCHAR (filename)), + filename), -1); ACE_Read_Buffer ior_buffer (f_handle); diff --git a/TAO/examples/Callback_Quoter/Consumer_Handler.h b/TAO/examples/Callback_Quoter/Consumer_Handler.h index 1afb85124f7..853a2f9f401 100644 --- a/TAO/examples/Callback_Quoter/Consumer_Handler.h +++ b/TAO/examples/Callback_Quoter/Consumer_Handler.h @@ -94,7 +94,7 @@ private: CORBA::ORB_var orb_; // Our orb. - int read_ior (char *filename); + int read_ior (ACE_TCHAR *filename); // Function to read the server IOR from a file. int parse_args (void); diff --git a/TAO/examples/Callback_Quoter/Supplier_i.cpp b/TAO/examples/Callback_Quoter/Supplier_i.cpp index 88bbe57e145..ceab107ed10 100644 --- a/TAO/examples/Callback_Quoter/Supplier_i.cpp +++ b/TAO/examples/Callback_Quoter/Supplier_i.cpp @@ -54,7 +54,7 @@ Supplier::~Supplier (void) // Reads the Server factory IOR from a file. int -Supplier::read_ior (char *filename) +Supplier::read_ior (ACE_TCHAR *filename) { // Open the file for reading. ACE_HANDLE f_handle = ACE_OS::open (filename, 0); @@ -62,7 +62,7 @@ Supplier::read_ior (char *filename) if (f_handle == ACE_INVALID_HANDLE) ACE_ERROR_RETURN ((LM_ERROR, "Unable to open %s for reading\n", - ACE_TEXT_CHAR_TO_TCHAR (filename)), + filename), -1); ACE_Read_Buffer ior_buffer (f_handle); diff --git a/TAO/examples/Callback_Quoter/Supplier_i.h b/TAO/examples/Callback_Quoter/Supplier_i.h index 47114de719c..b1b70dd244e 100644 --- a/TAO/examples/Callback_Quoter/Supplier_i.h +++ b/TAO/examples/Callback_Quoter/Supplier_i.h @@ -65,7 +65,7 @@ private: CORBA::ORB_var orb_; // Remember our orb. - int read_ior (char *filename); + int read_ior (ACE_TCHAR *filename); // Function to read the Notifier IOR from a file. int parse_args (void); -- cgit v1.2.1