diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-24 20:51:11 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-24 20:51:11 +0000 |
commit | dbeac73f76c854ecf1b73740cbd500ae35b47039 (patch) | |
tree | 1f4fb52dc5e816fdcb99eae71f2629220fbe1140 /examples | |
parent | a1e8f68499017845b93c6becd8b11b63629bba04 (diff) | |
download | ATCD-dbeac73f76c854ecf1b73740cbd500ae35b47039.tar.gz |
Replaced __TEXT with ACE_TEXT
Diffstat (limited to 'examples')
6 files changed, 16 insertions, 16 deletions
diff --git a/examples/Connection/blocking/SPIPE-acceptor.cpp b/examples/Connection/blocking/SPIPE-acceptor.cpp index 2e1f81e5675..9d0728144d9 100644 --- a/examples/Connection/blocking/SPIPE-acceptor.cpp +++ b/examples/Connection/blocking/SPIPE-acceptor.cpp @@ -53,7 +53,7 @@ IPC_Server::IPC_Server (void) : n_threads_ (1), done_handler_ (ACE_Sig_Handler_Ex (ACE_Proactor::end_event_loop)) { - ACE_OS::strcpy (rendezvous_, __TEXT ("acepipe")); + ACE_OS::strcpy (rendezvous_, ACE_TEXT ("acepipe")); } IPC_Server::~IPC_Server (void) diff --git a/examples/Connection/blocking/SPIPE-connector.cpp b/examples/Connection/blocking/SPIPE-connector.cpp index 7dd88874adc..0684d54c5ac 100644 --- a/examples/Connection/blocking/SPIPE-connector.cpp +++ b/examples/Connection/blocking/SPIPE-connector.cpp @@ -103,7 +103,7 @@ IPC_Client::IPC_Client (void) : iterations_ (0), done_handler_ (ACE_Sig_Handler_Ex (ACE_Proactor::end_event_loop)) { - ACE_OS::strcpy (rendezvous_, __TEXT ("acepipe")); + ACE_OS::strcpy (rendezvous_, ACE_TEXT ("acepipe")); } IPC_Client::~IPC_Client (void) diff --git a/examples/Reactor/WFMO_Reactor/test_console_input.cpp b/examples/Reactor/WFMO_Reactor/test_console_input.cpp index 3747705e3aa..650e2a93d79 100644 --- a/examples/Reactor/WFMO_Reactor/test_console_input.cpp +++ b/examples/Reactor/WFMO_Reactor/test_console_input.cpp @@ -53,7 +53,7 @@ Event_Handler::handle_signal (int signum, siginfo_t *, ucontext_t *) ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "ACE_OS::read"), -1); } - if (ACE_OS::strcmp (__TEXT("quit\r\n"), buffer) == 0) + if (ACE_OS::strcmp (ACE_TEXT("quit\r\n"), buffer) == 0) this->reactor ()->close (); ACE_DEBUG ((LM_DEBUG, "User input: %s", buffer)); diff --git a/examples/Reactor/WFMO_Reactor/test_directory_changes.cpp b/examples/Reactor/WFMO_Reactor/test_directory_changes.cpp index 0fabfd97fe4..3b4ada41d5d 100644 --- a/examples/Reactor/WFMO_Reactor/test_directory_changes.cpp +++ b/examples/Reactor/WFMO_Reactor/test_directory_changes.cpp @@ -23,8 +23,8 @@ ACE_RCSID(ReactorEx, test_directory_changes, "$Id$") static int stop_test = 0; -static LPCTSTR directory = __TEXT ("."); -static LPCTSTR temp_file = __TEXT ("foo"); +static LPCTSTR directory = ACE_TEXT ("."); +static LPCTSTR temp_file = ACE_TEXT ("foo"); class Event_Handler : public ACE_Event_Handler { diff --git a/examples/Reactor/WFMO_Reactor/test_registry_changes.cpp b/examples/Reactor/WFMO_Reactor/test_registry_changes.cpp index b5e5fce1e4c..37b466dc40b 100644 --- a/examples/Reactor/WFMO_Reactor/test_registry_changes.cpp +++ b/examples/Reactor/WFMO_Reactor/test_registry_changes.cpp @@ -25,7 +25,7 @@ ACE_RCSID(ReactorEx, test_registry_changes, "$Id$") static int stop_test = 0; static HKEY context_to_monitor = HKEY_CURRENT_USER; -static LPCTSTR temp_context_name = __TEXT ("ACE temporary context"); +static LPCTSTR temp_context_name = ACE_TEXT ("ACE temporary context"); class Event_Handler : public ACE_Event_Handler { diff --git a/examples/Registry/test_registry_update.cpp b/examples/Registry/test_registry_update.cpp index 88c6aff96f5..02c5a9a8ef6 100644 --- a/examples/Registry/test_registry_update.cpp +++ b/examples/Registry/test_registry_update.cpp @@ -128,22 +128,22 @@ setup_names () // Stupid implementation of STL is broken /* ::application_context_name.reserve (4); - ::application_context_name [0].id_ = __TEXT ("Software"); - ::application_context_name [1].id_ = __TEXT ("AcmeSoft"); - ::application_context_name [2].id_ = __TEXT ("AcmeApplication"); - ::application_context_name [3].id_ = __TEXT ("1.0"); + ::application_context_name [0].id_ = ACE_TEXT ("Software"); + ::application_context_name [1].id_ = ACE_TEXT ("AcmeSoft"); + ::application_context_name [2].id_ = ACE_TEXT ("AcmeApplication"); + ::application_context_name [3].id_ = ACE_TEXT ("1.0"); ::counter_name.reserve (1); - ::counter_name [0].id_ = __TEXT ("Instance Counter"); + ::counter_name [0].id_ = ACE_TEXT ("Instance Counter"); */ ACE_Registry::Name_Component component; - component.id_ = __TEXT ("Software"), ::application_context_name.insert (component); - component.id_ = __TEXT ("AcmeSoft"), ::application_context_name.insert (component); - component.id_ = __TEXT ("AcmeApplication"), ::application_context_name.insert (component); - component.id_ = __TEXT ("1.0"), ::application_context_name.insert (component); + component.id_ = ACE_TEXT ("Software"), ::application_context_name.insert (component); + component.id_ = ACE_TEXT ("AcmeSoft"), ::application_context_name.insert (component); + component.id_ = ACE_TEXT ("AcmeApplication"), ::application_context_name.insert (component); + component.id_ = ACE_TEXT ("1.0"), ::application_context_name.insert (component); - component.id_ = __TEXT ("Instance Counter"), ::counter_name.insert (component); + component.id_ = ACE_TEXT ("Instance Counter"), ::counter_name.insert (component); } |