mpengine/src/mpmpxharvesterframeworkwrapper_p.cpp
branchGCC_SURGE
changeset 44 eff9df3d9c98
parent 29 8192e5b5c935
child 55 f3930dda3342
--- a/mpengine/src/mpmpxharvesterframeworkwrapper_p.cpp	Fri Jun 11 16:24:02 2010 +0100
+++ b/mpengine/src/mpmpxharvesterframeworkwrapper_p.cpp	Thu Jul 22 16:32:33 2010 +0100
@@ -77,9 +77,8 @@
 /*!
  \internal
  */
-void MpMpxHarvesterFrameworkWrapperPrivate::init( MpCommon::MpViewMode viewMode, TUid hostUid )
+void MpMpxHarvesterFrameworkWrapperPrivate::init( TUid hostUid )
 {
-    iViewMode = viewMode;
     mHostUid = hostUid;
     TRAPD( err, DoInitL() );
     if ( err != KErrNone ) {
@@ -177,12 +176,7 @@
 void MpMpxHarvesterFrameworkWrapperPrivate::DoInitL()
 {
     TX_ENTRY
-    if ( iViewMode == MpCommon::FetchView ) {
-        iCollectionUtility = MMPXCollectionUtility::NewL( this, mHostUid );
-    }
-    else {
-        iCollectionUtility = MMPXCollectionUtility::NewL( this, KMcModeDefault );
-    }
+    iCollectionUtility = MMPXCollectionUtility::NewL( this, mHostUid );
     iHarvesterUtility = CMPXHarvesterFactory::NewL();
     iHarvesterUtility->CheckForSystemEventsL();
     TX_EXIT