mpviewplugins/mpdetailsviewplugin/tsrc/unittest_mpdetailsview/stub/src/mpenginefactory.cpp
equal
deleted
inserted
replaced
52 static MpEngineFactory instance; |
52 static MpEngineFactory instance; |
53 return &instance; |
53 return &instance; |
54 } |
54 } |
55 |
55 |
56 /*! |
56 /*! |
57 Returns an instance to an engine with \a hostUid, and \a mode, if the shared engine is |
57 Returns an instance to an engine with \a clientSecureId, and \a mode, if the shared engine is |
58 already created parameters are ignored. |
58 already created parameters are ignored. |
59 */ |
59 */ |
60 MpEngine *MpEngineFactory::createSharedEngine( TUid /*hostUid*/ , MpEngine::EngineMode /*mode*/ ) |
60 MpEngine *MpEngineFactory::createSharedEngine( quint32 /*clientSecureId*/ , MpEngine::EngineMode /*mode*/ ) |
61 { |
61 { |
62 TX_LOG_ARGS("MpEngineFactory::createSharedEngine() Stub") |
62 TX_LOG_ARGS("MpEngineFactory::createSharedEngine() Stub") |
63 if ( !instance()->mSharedEngine ) { |
63 if ( !instance()->mSharedEngine ) { |
64 instance()->mSharedEngine = new MpEngine(); |
64 instance()->mSharedEngine = new MpEngine(); |
65 } |
65 } |