diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-10-03 11:09:51 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-10-03 11:09:51 +0000 |
commit | 06ad7cf9ccba123fd26af77cc04f974be2171613 (patch) | |
tree | 89d11721d49b1eebfb510f012c4247bb2cf54b8a /TAO/examples/Callback_Quoter | |
parent | c2461fc660890fa88be363dbd4ff7aadf9043ae6 (diff) | |
download | ATCD-06ad7cf9ccba123fd26af77cc04f974be2171613.tar.gz |
Fri Oct 3 11:08:45 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/examples/Callback_Quoter')
-rw-r--r-- | TAO/examples/Callback_Quoter/Consumer_Handler.cpp | 4 | ||||
-rw-r--r-- | TAO/examples/Callback_Quoter/Consumer_Handler.h | 2 | ||||
-rw-r--r-- | TAO/examples/Callback_Quoter/Supplier_i.cpp | 4 | ||||
-rw-r--r-- | TAO/examples/Callback_Quoter/Supplier_i.h | 2 |
4 files changed, 6 insertions, 6 deletions
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); |