summaryrefslogtreecommitdiff
path: root/TAO/tao/UTF16_BOM_Factory.cpp
diff options
context:
space:
mode:
authorPhil Mesnier <mesnier_p@ociweb.com>2004-05-21 03:01:27 +0000
committerPhil Mesnier <mesnier_p@ociweb.com>2004-05-21 03:01:27 +0000
commit74fa743a42c15559c7460a876e4d7927cff1498e (patch)
treef0783923f6a7d47e5e296354b76dc4832012b8d3 /TAO/tao/UTF16_BOM_Factory.cpp
parent2f4ac18e616081eaa860d3e6c579c5d9cc52d734 (diff)
downloadATCD-74fa743a42c15559c7460a876e4d7927cff1498e.tar.gz
Thu May 20 21:28:41 2004 Phil Mesnier <mesnier_p@ociweb.com>
Diffstat (limited to 'TAO/tao/UTF16_BOM_Factory.cpp')
-rw-r--r--TAO/tao/UTF16_BOM_Factory.cpp39
1 files changed, 39 insertions, 0 deletions
diff --git a/TAO/tao/UTF16_BOM_Factory.cpp b/TAO/tao/UTF16_BOM_Factory.cpp
new file mode 100644
index 00000000000..3330fcfaeac
--- /dev/null
+++ b/TAO/tao/UTF16_BOM_Factory.cpp
@@ -0,0 +1,39 @@
+// -*- C++ -*-
+// $Id$
+
+// ============================================================================
+//
+// = LIBRARY
+// tao
+//
+// = FILENAME
+// UTF16_BOM_Factory.cpp
+//
+// = DESCRIPTION
+// Loader for an instance of the UTF16_BOM_Translator.
+//
+// = AUTHOR
+// Phil Mesnier <mesnier_p@ociweb.com>
+//
+// ============================================================================
+
+#include "UTF16_BOM_Factory.h"
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+
+template class TAO_Codeset_Translator_Factory_T<UTF16_BOM_Translator>;
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+#pragma instantiate TAO_Codeset_Translator_Factory_T<UTF16_BOM_Translator>
+
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+ACE_STATIC_SVC_DEFINE (UTF16_BOM_Factory,
+ ACE_TEXT ("UTF16_BOM_Factory"),
+ ACE_SVC_OBJ_T,
+ &ACE_SVC_NAME (UTF16_BOM_Factory),
+ ACE_Service_Type::DELETE_THIS
+ | ACE_Service_Type::DELETE_OBJ,
+ 0)
+ACE_FACTORY_DEFINE (TAO, UTF16_BOM_Factory)