messagingappbase/msgmedia/src/MsgMediaResolver.cpp
changeset 25 84d9eb65b26f
parent 23 238255e8b033
child 37 518b245aa84c
child 47 5b14749788d7
equal deleted inserted replaced
23:238255e8b033 25:84d9eb65b26f
   102 // Destructor
   102 // Destructor
   103 // -----------------------------------------------------------------------------
   103 // -----------------------------------------------------------------------------
   104 //
   104 //
   105 CMsgMediaResolver::~CMsgMediaResolver()
   105 CMsgMediaResolver::~CMsgMediaResolver()
   106     {
   106     {
       
   107     if ( iWait.IsStarted() )
       
   108         {
       
   109         // Stop active wait.
       
   110         iWait.AsyncStop();
       
   111         }
       
   112     
   107     iFs.Close();
   113     iFs.Close();
   108     iApaLsSession.Close();
   114     iApaLsSession.Close();
   109     iMimeGroupArray.ResetAndDestroy();
   115     iMimeGroupArray.ResetAndDestroy();
   110     delete iFileProt;
   116     delete iFileProt;
   111     delete iDRMHelper;
   117     delete iDRMHelper;
   260 // -----------------------------------------------------------------------------
   266 // -----------------------------------------------------------------------------
   261 //
   267 //
   262 EXPORT_C void CMsgMediaResolver::ParseInfoDetailsL( CMsgMediaInfo* aInfo, RFile& aFile )
   268 EXPORT_C void CMsgMediaResolver::ParseInfoDetailsL( CMsgMediaInfo* aInfo, RFile& aFile )
   263     {
   269     {
   264     aInfo->ParseInfoDetailsL( aFile, *iDRMHelper, *this );
   270     aInfo->ParseInfoDetailsL( aFile, *iDRMHelper, *this );
   265     /* if ( iWait.IsStarted() )
   271      if ( iWait.IsStarted() )
   266         {
   272         {
   267         // Stop active wait.
   273         // Stop active wait.
   268         iWait.AsyncStop();
   274         iWait.AsyncStop();
   269         }
   275         }
   270     // Start active wait
   276     // Start active wait
   271     iWait.Start();*/
   277     iWait.Start();
   272     }
   278     }
   273 
   279 
   274 // -----------------------------------------------------------------------------
   280 // -----------------------------------------------------------------------------
   275 // CMsgMediaResolver::DoCreateMediaInfoL
   281 // CMsgMediaResolver::DoCreateMediaInfoL
   276 // -----------------------------------------------------------------------------
   282 // -----------------------------------------------------------------------------
   336 // CMsgMediaResolver::MediaInfoParsed
   342 // CMsgMediaResolver::MediaInfoParsed
   337 // -----------------------------------------------------------------------------
   343 // -----------------------------------------------------------------------------
   338 //
   344 //
   339 void CMsgMediaResolver::MediaInfoParsed()
   345 void CMsgMediaResolver::MediaInfoParsed()
   340     {
   346     {
   341     /*if ( iWait.IsStarted() )
   347     if ( iWait.IsStarted() )
   342         {
   348         {
   343         // Stop active wait.
   349         // Stop active wait.
   344         iWait.AsyncStop();
   350         iWait.AsyncStop();
   345         }*/
   351         }
   346     }
   352     }
   347 
   353 
   348 //  End of File  
   354 //  End of File