summaryrefslogtreecommitdiff
path: root/TAO/tests/CodeSets/libs/UCS4_UTF16/WUCS4_UTF16_Factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/CodeSets/libs/UCS4_UTF16/WUCS4_UTF16_Factory.cpp')
-rw-r--r--TAO/tests/CodeSets/libs/UCS4_UTF16/WUCS4_UTF16_Factory.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/TAO/tests/CodeSets/libs/UCS4_UTF16/WUCS4_UTF16_Factory.cpp b/TAO/tests/CodeSets/libs/UCS4_UTF16/WUCS4_UTF16_Factory.cpp
new file mode 100644
index 00000000000..f6700337cbe
--- /dev/null
+++ b/TAO/tests/CodeSets/libs/UCS4_UTF16/WUCS4_UTF16_Factory.cpp
@@ -0,0 +1,25 @@
+// -*- C++ -*-
+
+#include "WUCS4_UTF16_Factory.h"
+
+ACE_RCSID(UCS4_UTF16, WUCS4_UTF16_Factory, "$Id$")
+
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+
+template class TAO_Codeset_Translator_Factory_T<WUCS4_UTF16>;
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+#pragma instantiate TAO_Codeset_Translator_Factory_T<WUCS4_UTF16>
+
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+ACE_STATIC_SVC_DEFINE (WUCS4_UTF16_Factory,
+ ACE_TEXT ("WUCS4_UTF16_Factory"),
+ ACE_SVC_OBJ_T,
+ &ACE_SVC_NAME (WUCS4_UTF16_Factory),
+ ACE_Service_Type::DELETE_THIS
+ | ACE_Service_Type::DELETE_OBJ,
+ 0)
+ACE_FACTORY_DEFINE (UCS4_UTF16, WUCS4_UTF16_Factory)