mmserv/tms/tmsfactory/src/tmsfactory.cpp
changeset 55 e267340986c9
parent 22 128eb6a32b84
--- a/mmserv/tms/tmsfactory/src/tmsfactory.cpp	Fri Sep 17 08:33:15 2010 +0300
+++ b/mmserv/tms/tmsfactory/src/tmsfactory.cpp	Mon Oct 04 00:51:56 2010 +0300
@@ -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;
     }