summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2004-06-29 06:07:00 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2004-06-29 06:07:00 +0000
commit2040b19507e6d2502cd248bd4b01d85626700c07 (patch)
tree756dd8f5c5314511d8dd40f6b2a2e96dfb5563f3 /examples
parent12477d166105b62930a72decf8439c55eef3e347 (diff)
downloadATCD-2040b19507e6d2502cd248bd4b01d85626700c07.tar.gz
ChangeLogTag: Tue Jun 29 06:06:12 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'examples')
-rw-r--r--examples/APG/Naming/Nodelocal.cpp8
-rw-r--r--examples/APG/Naming/Temperature_Grapher_Options.h2
-rw-r--r--examples/APG/Naming/Temperature_Monitor_Options.h2
3 files changed, 6 insertions, 6 deletions
diff --git a/examples/APG/Naming/Nodelocal.cpp b/examples/APG/Naming/Nodelocal.cpp
index c8a2d862634..ca37a27e374 100644
--- a/examples/APG/Naming/Nodelocal.cpp
+++ b/examples/APG/Naming/Nodelocal.cpp
@@ -9,17 +9,17 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
Temperature_Monitor_Options opt (argc, argv);
// Listing 1
-
+
// Listing 2 code/ch21
Naming_Context naming_context;
-
+
ACE_Name_Options *name_options = naming_context.name_options();
// Listing 2
// Listing 3 code/ch21
- char *naming_options_argv[] = { argv[0] };
+ ACE_TCHAR *naming_options_argv[] = { argv[0] };
name_options->parse_args
- (sizeof(naming_options_argv) / sizeof(char*),
+ (sizeof(naming_options_argv) / sizeof(ACE_TCHAR*),
naming_options_argv);
name_options->context (ACE_Naming_Context::PROC_LOCAL);
naming_context.open (name_options->context ());
diff --git a/examples/APG/Naming/Temperature_Grapher_Options.h b/examples/APG/Naming/Temperature_Grapher_Options.h
index 9e36a0551fd..e7a2dbe7c94 100644
--- a/examples/APG/Naming/Temperature_Grapher_Options.h
+++ b/examples/APG/Naming/Temperature_Grapher_Options.h
@@ -6,7 +6,7 @@
class Temperature_Grapher_Options
{
public:
- Temperature_Grapher_Options( int argc, char ** argv )
+ Temperature_Grapher_Options( int argc, ACE_TCHAR ** argv )
{
ACE_UNUSED_ARG(argc);
ACE_UNUSED_ARG(argv);
diff --git a/examples/APG/Naming/Temperature_Monitor_Options.h b/examples/APG/Naming/Temperature_Monitor_Options.h
index 2dc6469788f..95fb82faa9b 100644
--- a/examples/APG/Naming/Temperature_Monitor_Options.h
+++ b/examples/APG/Naming/Temperature_Monitor_Options.h
@@ -6,7 +6,7 @@
class Temperature_Monitor_Options
{
public:
- Temperature_Monitor_Options (int, char *[])
+ Temperature_Monitor_Options (int, ACE_TCHAR *[])
{ }
const char *thermometer_address (void)