videoplayback/videohelix/inc/mpxvideodlmgrif.h
changeset 39 f6d44a0cd476
parent 34 bbb98528c666
equal deleted inserted replaced
38:ff53afa8ad05 39:f6d44a0cd476
    13 *
    13 *
    14 * Description:  Header of CMPXVideoDownloadMgrInterface class.
    14 * Description:  Header of CMPXVideoDownloadMgrInterface class.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: 10 %
    18 
    19 
    19 // Version : %version: 12 %
       
    20 
       
    21 #ifdef USE_S60_DOWNLOAD_MANAGER 
    20 
    22 
    21 #ifndef __MPXVIDEODLMGRIF_H__
    23 #ifndef __MPXVIDEODLMGRIF_H__
    22 #define __MPXVIDEODLMGRIF_H__
    24 #define __MPXVIDEODLMGRIF_H__
    23 
    25 
    24 #include <DownloadMgrClientApiExt.h>
    26 #include <downloadmgrclientapiext.h>
    25 #include <mpxplaybackcommanddefs.h>
    27 #include <mpxplaybackcommanddefs.h>
    26 
    28 
    27 //
    29 //
    28 //  Forward Declaration
    30 //  Forward Declaration
    29 //
    31 //
   133          *
   135          *
   134          *  @since S60 3.2
   136          *  @since S60 3.2
   135          */
   137          */
   136         TBool IsDownloadPaused();
   138         TBool IsDownloadPaused();
   137 
   139 
       
   140         /*
       
   141          *  UpdateDownloadSizeL
       
   142          *
       
   143          *  For DRM protected clips, the download size will be updated using the file handle
       
   144          *
       
   145          *  @since S60 9.2
       
   146          */
       
   147         void UpdateDownloadSizeL();
       
   148 
   138     private:
   149     private:
   139         /*
   150         /*
   140          *  CMPDownloadMgrInterface
   151          *  CMPDownloadMgrInterface
   141          *  Constructor
   152          *  Constructor
   142          *  @since S60 3.2
   153          *  @since S60 3.2
   217         static TInt UpdateDownloadProgress( TAny* aPtr );
   228         static TInt UpdateDownloadProgress( TAny* aPtr );
   218 
   229 
   219         void CalculateDestinationFileNameL();
   230         void CalculateDestinationFileNameL();
   220 
   231 
   221         void ConvertDMgrStatetoMpxState( TInt32 dmgrState );
   232         void ConvertDMgrStatetoMpxState( TInt32 dmgrState );
   222 
       
   223         void UpdateDownloadSizeL();
       
   224 
   233 
   225         //
   234         //
   226         //  Private Members
   235         //  Private Members
   227         //  Not Owned Data
   236         //  Not Owned Data
   228         //
   237         //
   249         CIdle*                        iUpdateDownload;
   258         CIdle*                        iUpdateDownload;
   250 };
   259 };
   251 
   260 
   252 #endif __MPXVIDEODLMGRIF_H__
   261 #endif __MPXVIDEODLMGRIF_H__
   253 
   262 
       
   263 #endif // USE_S60_DOWNLOAD_MANAGER 
       
   264 
   254 // End of file
   265 // End of file