summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Factory.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Factory.cpp21
1 files changed, 9 insertions, 12 deletions
diff --git a/TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Factory.cpp b/TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Factory.cpp
index 3f02a649f72..19d65555a11 100644
--- a/TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Factory.cpp
+++ b/TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Factory.cpp
@@ -1,18 +1,17 @@
+// This may look like C, but it's really -*- C++ -*-
+//
// $Id$
-#include "orbsvcs/PortableGroup/UIPMC_Factory.h"
-#include "orbsvcs/PortableGroup/UIPMC_Acceptor.h"
-#include "orbsvcs/PortableGroup/UIPMC_Connector.h"
+#include "UIPMC_Factory.h"
+#include "UIPMC_Acceptor.h"
+#include "UIPMC_Connector.h"
#include "ace/OS_NS_strings.h"
-#include "tao/ORB_Constants.h"
ACE_RCSID (PortableGroup,
UIPMC_Factory,
"$Id$")
-static const char the_prefix[] = "uipmc";
-
-TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+static const char prefix_[] = "uipmc";
TAO_UIPMC_Protocol_Factory::TAO_UIPMC_Protocol_Factory (void)
: TAO_Protocol_Factory (TAO_TAG_UIPMC_PROFILE),
@@ -29,13 +28,13 @@ int
TAO_UIPMC_Protocol_Factory::match_prefix (const ACE_CString &prefix)
{
// Check for the proper prefix for this protocol.
- return (ACE_OS::strcasecmp (prefix.c_str (), ::the_prefix) == 0);
+ return (ACE_OS::strcasecmp (prefix.c_str (), ::prefix_) == 0);
}
const char *
TAO_UIPMC_Protocol_Factory::prefix (void) const
{
- return ::the_prefix;
+ return ::prefix_;
}
char
@@ -58,7 +57,7 @@ TAO_UIPMC_Protocol_Factory::make_acceptor (void)
int
TAO_UIPMC_Protocol_Factory::init (int /* argc */,
- char* /* argv */ [])
+ ACE_TCHAR* /* argv */ [])
{
return 0;
}
@@ -86,8 +85,6 @@ TAO_UIPMC_Protocol_Factory::requires_explicit_endpoint (void) const
return 1;
}
-TAO_END_VERSIONED_NAMESPACE_DECL
-
ACE_STATIC_SVC_DEFINE (TAO_UIPMC_Protocol_Factory,
ACE_TEXT ("UIPMC_Factory"),
ACE_SVC_OBJ_T,