mmappcomponents/mmmtpdataprovider/inc/mmmtpdputility.h
branchRCL_3
changeset 9 bee149131e4b
parent 0 a2952bb97e68
child 14 05b0d2323768
--- a/mmappcomponents/mmmtpdataprovider/inc/mmmtpdputility.h	Tue Feb 02 00:27:58 2010 +0200
+++ b/mmappcomponents/mmmtpdataprovider/inc/mmmtpdputility.h	Fri Feb 19 23:18:32 2010 +0200
@@ -45,6 +45,13 @@
     static TBool HasMetadata( TUint16 aObjFormatCode );
 
     /**
+    * Utility function to decide if there is any reference
+    * @param aObjFormatCode, object format code
+    * @return TBool for decide if there are some references
+    */
+    static TBool HasReference( TUint16 aObjFormatCode );
+
+    /**
     * Utility function to decide if the file is video.
     * @param aFullFileName, the full file name
     * @return TBool for decide if the file is video
@@ -61,6 +68,15 @@
     static TBool IsVideoL( const TDesC& aFullFileName, const MMTPDataProviderFramework& aFramework );
 
     /**
+    * Utility function to decide if the file is video.
+    * For internal use, this is fast version by querying framework DB
+    * @param aFormatCode,
+    * @param aSubFormatCode,
+    * @return TBool for decide if the file is video
+    */
+    static TBool IsVideoL( TUint aFormatCode, TUint aSubFormatCode );
+
+    /**
     * Check the filename length to see if it exceeds Symbian 256 limit.
     * @param aPathName, the path name of the file
     * @param aFileName, the file to be check