mmappcomponents/mmmtpdataprovider/inc/cmmmtpdpmetadatampxaccess.h
branchRCL_3
changeset 34 e257e2b6459d
parent 28 f56ec6ce2732
equal deleted inserted replaced
30:6f9f6e99a23e 34:e257e2b6459d
    70      * @param aStoreRoot, specify in which drive abstract medias are stored
    70      * @param aStoreRoot, specify in which drive abstract medias are stored
    71      * @param aAbstractMedias, return result array
    71      * @param aAbstractMedias, return result array
    72      * @param aCategory, indicate the category of abstract medias
    72      * @param aCategory, indicate the category of abstract medias
    73      */
    73      */
    74     void GetAllAbstractMediaL( const TDesC& aStoreRoot,
    74     void GetAllAbstractMediaL( const TDesC& aStoreRoot,
    75         CMPXMediaArray** aAbstractMedias,
    75         CDesCArray& aAbstractMedias,
    76         TMPXGeneralCategory aCategory );
    76         TMPXGeneralCategory aCategory );
    77 
    77 
    78     /**
    78     /**
    79      * Get all references of specified abstract media
    79      * Get all references of specified abstract media
    80      * @param aAbstractMedia, specify of which reference should be get
    80      * @param aAbstractMedia, specify of which reference should be get
    81      * @param aReferences, return result array which stored handles of all references
    81      * @param aReferences, return result array which stored handles of all references
    82      */
    82      */
    83     void GetAllReferenceL( CMPXMedia* aAbstractMedia,
    83     void GetAllReferenceL( const TDesC& aRefOwnerSuid,
       
    84         TMPXGeneralCategory aCategory,
    84         CDesCArray& aReferences );
    85         CDesCArray& aReferences );
    85 
       
    86     /**
       
    87      * Get an abstract media name from CMPXMedia object
       
    88      * @param aAbstractMedia, specify the source
       
    89      * @param aCategory, specify the category
       
    90      * @return, name of the source, ownership transferred
       
    91      */
       
    92     HBufC* GetAbstractMediaNameL( CMPXMedia* aAbstractMedia,
       
    93         TMPXGeneralCategory aCategory );
       
    94 
    86 
    95     /**
    87     /**
    96      * Adds Songs info to Mpx DB
    88      * Adds Songs info to Mpx DB
    97      * @param aFullFileName, full file name of Media file
    89      * @param aFullFileName, full file name of Media file
    98      */
    90      */
   213     TBuf<KStorageRootMaxLength> iStoreRoot;
   205     TBuf<KStorageRootMaxLength> iStoreRoot;
   214 
   206 
   215     MMPXCollectionHelper* iCollectionHelper;
   207     MMPXCollectionHelper* iCollectionHelper;
   216     HBufC8* iSampleData;
   208     HBufC8* iSampleData;
   217 
   209 
       
   210     TBool iHasCleanUp;
       
   211 
   218 #if defined(_DEBUG) || defined(MMMTPDP_PERFLOG)
   212 #if defined(_DEBUG) || defined(MMMTPDP_PERFLOG)
   219     CMmMtpDpPerfLog* iPerfLog;
   213     CMmMtpDpPerfLog* iPerfLog;
   220 #endif
   214 #endif
   221 
   215 
   222     };
   216     };