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