qtms/src/qtmsfactory.cpp
changeset 62 b276843a15ba
parent 50 762d760dcfdf
--- a/qtms/src/qtmsfactory.cpp	Fri Sep 03 20:07:59 2010 -0500
+++ b/qtms/src/qtmsfactory.cpp	Tue Sep 21 11:25:55 2010 -0500
@@ -23,9 +23,9 @@
 
 using namespace QTMS;
 
-QTMSFactory::QTMSFactory()
+QTMSFactory::QTMSFactory(QTMSVer& ver)
 {
-    impl = new QTMSFactoryImpl();
+    impl = new QTMSFactoryImpl(ver);
 }
 
 QTMSFactory::~QTMSFactory()
@@ -33,9 +33,9 @@
     delete impl;
 }
 
-gint QTMSFactory::CreateFactory(QTMSFactory*& tmsfactory, QTMSVer& /*ver*/)
+gint QTMSFactory::CreateFactory(QTMSFactory*& tmsfactory, QTMSVer& ver)
 {
-    QTMSFactory* self = new QTMSFactory();
+    QTMSFactory* self = new QTMSFactory(ver);
     tmsfactory = self;
     return QTMS_RESULT_SUCCESS;
 }