diff -r 3b098142db83 -r 92dbd2a406d9 qtms/src/qtmsfactory.cpp --- a/qtms/src/qtmsfactory.cpp Fri Sep 17 08:33:08 2010 +0300 +++ b/qtms/src/qtmsfactory.cpp Mon Oct 04 00:50:27 2010 +0300 @@ -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; }