mmappcomponents/mmmtpdataprovider/inc/mmmtpdputility.h
branchRCL_3
changeset 9 bee149131e4b
parent 0 a2952bb97e68
child 14 05b0d2323768
equal deleted inserted replaced
4:d45095c2f4f3 9:bee149131e4b
    43     * @return TBool for decide if has metadata
    43     * @return TBool for decide if has metadata
    44     */
    44     */
    45     static TBool HasMetadata( TUint16 aObjFormatCode );
    45     static TBool HasMetadata( TUint16 aObjFormatCode );
    46 
    46 
    47     /**
    47     /**
       
    48     * Utility function to decide if there is any reference
       
    49     * @param aObjFormatCode, object format code
       
    50     * @return TBool for decide if there are some references
       
    51     */
       
    52     static TBool HasReference( TUint16 aObjFormatCode );
       
    53 
       
    54     /**
    48     * Utility function to decide if the file is video.
    55     * Utility function to decide if the file is video.
    49     * @param aFullFileName, the full file name
    56     * @param aFullFileName, the full file name
    50     * @return TBool for decide if the file is video
    57     * @return TBool for decide if the file is video
    51     */
    58     */
    52     IMPORT_C static TBool IsVideoL( const TDesC& aFullFileName );
    59     IMPORT_C static TBool IsVideoL( const TDesC& aFullFileName );
    57     * @param aFullFileName, the full file name
    64     * @param aFullFileName, the full file name
    58     * @param aFramework, the mtp framework instance pointer, default is null
    65     * @param aFramework, the mtp framework instance pointer, default is null
    59     * @return TBool for decide if the file is video
    66     * @return TBool for decide if the file is video
    60     */
    67     */
    61     static TBool IsVideoL( const TDesC& aFullFileName, const MMTPDataProviderFramework& aFramework );
    68     static TBool IsVideoL( const TDesC& aFullFileName, const MMTPDataProviderFramework& aFramework );
       
    69 
       
    70     /**
       
    71     * Utility function to decide if the file is video.
       
    72     * For internal use, this is fast version by querying framework DB
       
    73     * @param aFormatCode,
       
    74     * @param aSubFormatCode,
       
    75     * @return TBool for decide if the file is video
       
    76     */
       
    77     static TBool IsVideoL( TUint aFormatCode, TUint aSubFormatCode );
    62 
    78 
    63     /**
    79     /**
    64     * Check the filename length to see if it exceeds Symbian 256 limit.
    80     * Check the filename length to see if it exceeds Symbian 256 limit.
    65     * @param aPathName, the path name of the file
    81     * @param aPathName, the path name of the file
    66     * @param aFileName, the file to be check
    82     * @param aFileName, the file to be check