profilesapplication/Profiles/ProfileApp/SettingsViewSrc/ProfileMmfInfoUtility.h
branchRCL_3
changeset 11 bc161388e3ce
parent 0 ca436256272f
equal deleted inserted replaced
10:b79ee333c41d 11:bc161388e3ce
    43          * @param aMimeType the MIME type for which an MMF plugin is searched.
    43          * @param aMimeType the MIME type for which an MMF plugin is searched.
    44          * @return ETrue if the given MIME is supported by MMF,
    44          * @return ETrue if the given MIME is supported by MMF,
    45          *         EFalse otherwise.
    45          *         EFalse otherwise.
    46          */
    46          */
    47         static TBool IsMimeTypeSupportedL( const TDesC8& aMimeType );
    47         static TBool IsMimeTypeSupportedL( const TDesC8& aMimeType );
       
    48         
       
    49         /**
       
    50          * Checks if the given file's header data is supported 
       
    51          * by MMF, especially for m4a drm files.
       
    52          * @param aFileName the name of the file to be judged.
       
    53          * @return ETrue if the given file is supported by MMF,
       
    54          *         EFalse otherwise.
       
    55          */
       
    56         static TBool IsHeaderDataSupportedL( const TDesC& aFileName );
    48 
    57 
    49     private:  // Constructor and destructor
    58     private:  // Constructor and destructor
    50 
    59 
    51         /**
    60         /**
    52          * Default constructor. This is private since this class is not intended
    61          * Default constructor. This is private since this class is not intended
    54          */
    63          */
    55         ProfileMmfInfoUtility() {};
    64         ProfileMmfInfoUtility() {};
    56 
    65 
    57         // Destructor.
    66         // Destructor.
    58         ~ProfileMmfInfoUtility() {};
    67         ~ProfileMmfInfoUtility() {};
       
    68         
       
    69         //internal use
       
    70         /**
       
    71          * Get the header data of the file
       
    72          * @param aFileName specifies the name of the file.
       
    73          * @param aHeaderData contains the header data of the file.
       
    74          * @param aMaxLength the length of header data.         
       
    75          */
       
    76         static void GetFileHeaderDataL(const TDesC& aFileName, TDes8& aHeaderData, TInt aMaxLength);
    59     };
    77     };
    60 
    78 
    61 #endif      // PROFILEMMFINFOUTILITY_H
    79 #endif      // PROFILEMMFINFOUTILITY_H
    62 
    80 
    63 // End of File
    81 // End of File