mpengine/src/mpmpxharvesterframeworkwrapper_p.cpp
changeset 58 ed94e1e8390e
parent 29 8192e5b5c935
equal deleted inserted replaced
54:c5b304f4d89b 58:ed94e1e8390e
    75 }
    75 }
    76 
    76 
    77 /*!
    77 /*!
    78  \internal
    78  \internal
    79  */
    79  */
    80 void MpMpxHarvesterFrameworkWrapperPrivate::init( TUid hostUid )
    80 void MpMpxHarvesterFrameworkWrapperPrivate::init( quint32 clientSecureId )
    81 {
    81 {
    82     mHostUid = hostUid;
    82     iHostUid = TUid::Uid( clientSecureId );
    83     TRAPD( err, DoInitL() );
    83     TRAPD( err, DoInitL() );
    84     if ( err != KErrNone ) {
    84     if ( err != KErrNone ) {
    85         TX_LOG_ARGS( "Error: " << err << "; should never get here." );
    85         TX_LOG_ARGS( "Error: " << err << "; should never get here." );
    86     }
    86     }
    87 }
    87 }
   174  \internal
   174  \internal
   175  */
   175  */
   176 void MpMpxHarvesterFrameworkWrapperPrivate::DoInitL()
   176 void MpMpxHarvesterFrameworkWrapperPrivate::DoInitL()
   177 {
   177 {
   178     TX_ENTRY
   178     TX_ENTRY
   179     iCollectionUtility = MMPXCollectionUtility::NewL( this, mHostUid );
   179     iCollectionUtility = MMPXCollectionUtility::NewL( this, iHostUid );
   180     iHarvesterUtility = CMPXHarvesterFactory::NewL();
   180     iHarvesterUtility = CMPXHarvesterFactory::NewL();
   181     iHarvesterUtility->CheckForSystemEventsL();
   181     iHarvesterUtility->CheckForSystemEventsL();
   182     TX_EXIT
   182     TX_EXIT
   183 }
   183 }
   184 
   184