summaryrefslogtreecommitdiff
path: root/TAO/examples/CSD_Strategy/ThreadPool2
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-09-16 11:10:20 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-09-16 11:10:20 +0000
commitd2a70a512696f4e1769404288a62d9f875b20dc4 (patch)
tree19c8d212046ec43a487b1ecb519b9a9773e919f8 /TAO/examples/CSD_Strategy/ThreadPool2
parent82ec591f8faf53ac8c66038698fff229998f2d1e (diff)
downloadATCD-d2a70a512696f4e1769404288a62d9f875b20dc4.tar.gz
Tue Sep 16 11:06:00 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/examples/CSD_Strategy/ThreadPool2')
-rw-r--r--TAO/examples/CSD_Strategy/ThreadPool2/ClientApp.cpp6
-rw-r--r--TAO/examples/CSD_Strategy/ThreadPool2/ClientApp.h4
-rw-r--r--TAO/examples/CSD_Strategy/ThreadPool2/ServerApp.cpp6
-rw-r--r--TAO/examples/CSD_Strategy/ThreadPool2/ServerApp.h4
4 files changed, 10 insertions, 10 deletions
diff --git a/TAO/examples/CSD_Strategy/ThreadPool2/ClientApp.cpp b/TAO/examples/CSD_Strategy/ThreadPool2/ClientApp.cpp
index 3aecc88f933..4b368339776 100644
--- a/TAO/examples/CSD_Strategy/ThreadPool2/ClientApp.cpp
+++ b/TAO/examples/CSD_Strategy/ThreadPool2/ClientApp.cpp
@@ -16,7 +16,7 @@ ClientApp::~ClientApp()
int
-ClientApp::run(int argc, char* argv[])
+ClientApp::run(int argc, ACE_TCHAR* argv[])
{
CORBA::ORB_var orb = CORBA::ORB_init(argc, argv);
@@ -89,11 +89,11 @@ ClientApp::run(int argc, char* argv[])
int
-ClientApp::parse_args(int argc, char* argv[])
+ClientApp::parse_args(int argc, ACE_TCHAR* argv[])
{
this->exe_name_ = argv[0];
- ACE_Get_Opt get_opts(argc, argv, "i:");
+ ACE_Get_Opt get_opts(argc, argv, ACE_TEXT("i:"));
int c;
diff --git a/TAO/examples/CSD_Strategy/ThreadPool2/ClientApp.h b/TAO/examples/CSD_Strategy/ThreadPool2/ClientApp.h
index f4648822d1e..ea42b616bdb 100644
--- a/TAO/examples/CSD_Strategy/ThreadPool2/ClientApp.h
+++ b/TAO/examples/CSD_Strategy/ThreadPool2/ClientApp.h
@@ -14,12 +14,12 @@ class ClientApp
ClientApp();
~ClientApp();
- int run(int argc, char* argv[]);
+ int run(int argc, ACE_TCHAR* argv[]);
private:
- int parse_args(int argc, char* argv[]);
+ int parse_args(int argc, ACE_TCHAR* argv[]);
void usage_statement();
ACE_CString ior_;
diff --git a/TAO/examples/CSD_Strategy/ThreadPool2/ServerApp.cpp b/TAO/examples/CSD_Strategy/ThreadPool2/ServerApp.cpp
index 4a8e06402bd..2d83bbe594b 100644
--- a/TAO/examples/CSD_Strategy/ThreadPool2/ServerApp.cpp
+++ b/TAO/examples/CSD_Strategy/ThreadPool2/ServerApp.cpp
@@ -25,7 +25,7 @@ ServerApp::~ServerApp()
int
-ServerApp::run (int argc, char* argv[])
+ServerApp::run (int argc, ACE_TCHAR* argv[])
{
CORBA::ORB_var orb = CORBA::ORB_init (argc, argv);
@@ -146,11 +146,11 @@ ServerApp::run (int argc, char* argv[])
int
-ServerApp::parse_args(int argc, char* argv[])
+ServerApp::parse_args(int argc, ACE_TCHAR* argv[])
{
this->exe_name_ = argv[0];
- ACE_Get_Opt get_opts(argc, argv, "p:s:c:");
+ ACE_Get_Opt get_opts(argc, argv, ACE_TEXT("p:s:c:"));
int c;
int tmp;
diff --git a/TAO/examples/CSD_Strategy/ThreadPool2/ServerApp.h b/TAO/examples/CSD_Strategy/ThreadPool2/ServerApp.h
index a6f69ecb395..71cbcb2dd88 100644
--- a/TAO/examples/CSD_Strategy/ThreadPool2/ServerApp.h
+++ b/TAO/examples/CSD_Strategy/ThreadPool2/ServerApp.h
@@ -13,12 +13,12 @@ class ServerApp
ServerApp();
~ServerApp();
- int run(int argc, char* argv[]);
+ int run(int argc, ACE_TCHAR* argv[]);
private:
- int parse_args(int argc, char* argv[]);
+ int parse_args(int argc, ACE_TCHAR* argv[]);
void usage_statement();
ACE_CString exe_name_;