equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: Implementation of CMPXVideoDownloadMgrInterface class. |
14 * Description: Implementation of CMPXVideoDownloadMgrInterface class. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: 21 % |
18 // Version : %version: 23 % |
19 |
19 |
20 |
20 |
21 #include <MMFROPCustomCommandConstants.h> |
21 #include <MMFROPCustomCommandConstants.h> |
22 #include <mmf/common/mmfcontrollerframework.h> |
22 #include <mmf/common/mmfcontrollerframework.h> |
23 #include <mpxplaybackpluginobserver.h> |
23 #include <mpxplaybackpluginobserver.h> |
158 // |
158 // |
159 iCurrentDl->SetBoolAttribute( EDlAttrProgressive, ETrue ); |
159 iCurrentDl->SetBoolAttribute( EDlAttrProgressive, ETrue ); |
160 |
160 |
161 iCurrentDl->SetBoolAttribute( EDlAttrSilent, EFalse ); |
161 iCurrentDl->SetBoolAttribute( EDlAttrSilent, EFalse ); |
162 |
162 |
163 //a temp hack until dl manager has a fix for this |
|
164 TInt32 activeDownload( 0 ); |
163 TInt32 activeDownload( 0 ); |
165 iCurrentDl->GetIntAttribute( EDlAttrActiveDownload, activeDownload ); |
164 iCurrentDl->GetIntAttribute( EDlAttrActiveDownload, activeDownload ); |
166 iCurrentDl->SetIntAttribute( EDlAttrActivePlayedDownload, activeDownload ); |
165 iCurrentDl->SetIntAttribute( EDlAttrActivePlayedDownload, activeDownload ); |
167 |
166 |
168 // |
167 // |
735 // |
734 // |
736 void CMPXVideoDlMgrIf::UpdateDownloadSizeL() |
735 void CMPXVideoDlMgrIf::UpdateDownloadSizeL() |
737 { |
736 { |
738 MPX_ENTER_EXIT(_L("CMPXVideoDlMgrIf::UpdateDownloadSizeL()")); |
737 MPX_ENTER_EXIT(_L("CMPXVideoDlMgrIf::UpdateDownloadSizeL()")); |
739 |
738 |
740 if ( iController->iDrmHelper->IsProtected( iController->iFileHandle ) ) |
739 if ( iController->iDrmHelper->IsProtectedL( iController->iFileHandle ) ) |
741 { |
740 { |
742 MPX_DEBUG(_L("CMPXVideoDlMgrIf::UpdateDownloadSizeL() download is DRM protected")); |
741 MPX_DEBUG(_L("CMPXVideoDlMgrIf::UpdateDownloadSizeL() download is DRM protected")); |
743 |
742 |
744 ContentAccess::CContent* content = |
743 ContentAccess::CContent* content = |
745 ContentAccess::CContent::NewLC( iController->iFileHandle ); |
744 ContentAccess::CContent::NewLC( iController->iFileHandle ); |