mmserv/tms/tmsfactory/src/tmsfactory.cpp
changeset 53 eabc8c503852
parent 20 b67dd1fc57c5
--- a/mmserv/tms/tmsfactory/src/tmsfactory.cpp	Fri Sep 03 19:34:12 2010 -0500
+++ b/mmserv/tms/tmsfactory/src/tmsfactory.cpp	Tue Sep 21 11:38:43 2010 -0500
@@ -20,9 +20,9 @@
 
 using namespace TMS;
 
-TMSFactory::TMSFactory()
+TMSFactory::TMSFactory(TMSVer& ver)
     {
-    impl = new TMSFactoryImpl();
+    impl = new TMSFactoryImpl(ver);
     }
 
 EXPORT_C TMSFactory::~TMSFactory()
@@ -31,9 +31,9 @@
     }
 
 EXPORT_C gint TMSFactory::CreateFactory(TMSFactory*& tmsfactory,
-        TMSVer& /*ver*/)
+        TMSVer& ver)
     {
-    TMSFactory* self = new TMSFactory();
+    TMSFactory* self = new TMSFactory(ver);
     tmsfactory = self;
     return TMS_RESULT_SUCCESS;
     }