diff -r 861562a14a53 -r b7fa36b488f8 profilesapplication/Profiles/ProfileApp/SettingsViewSrc/ProfileMmfInfoUtility.h --- a/profilesapplication/Profiles/ProfileApp/SettingsViewSrc/ProfileMmfInfoUtility.h Thu Aug 19 09:55:16 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,81 +0,0 @@ -/* -* Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: A wrapper interface around MMF (Multimedia Framework) to get -* information about MIME-types supported by MMF. -* -*/ - - - -#ifndef PROFILEMMFINFOUTILITY_H -#define PROFILEMMFINFOUTILITY_H - -// INCLUDES -#include - -// CLASS DECLARATION - -/** -* A helper interface used by CProfileToneHandler to check whether a MIME -* type is supported by MMF. -* -* @lib ProfileSettingsView.lib -* @since Series 60 3.0 -*/ -class ProfileMmfInfoUtility - { - public: // New functions - - /** - * Checks if the given MIME-type is supported by MMF. In other words, - * checks if there is an MMF plugin to handle the given MIME type. - * @param aMimeType the MIME type for which an MMF plugin is searched. - * @return ETrue if the given MIME is supported by MMF, - * EFalse otherwise. - */ - static TBool IsMimeTypeSupportedL( const TDesC8& aMimeType ); - - /** - * Checks if the given file's header data is supported - * by MMF, especially for m4a drm files. - * @param aFileName the name of the file to be judged. - * @return ETrue if the given file is supported by MMF, - * EFalse otherwise. - */ - static TBool IsHeaderDataSupportedL( const TDesC& aFileName ); - - private: // Constructor and destructor - - /** - * Default constructor. This is private since this class is not intended - * to be instantiated. - */ - ProfileMmfInfoUtility() {}; - - // Destructor. - ~ProfileMmfInfoUtility() {}; - - //internal use - /** - * Get the header data of the file - * @param aFileName specifies the name of the file. - * @param aHeaderData contains the header data of the file. - * @param aMaxLength the length of header data. - */ - static void GetFileHeaderDataL(const TDesC& aFileName, TDes8& aHeaderData, TInt aMaxLength); - }; - -#endif // PROFILEMMFINFOUTILITY_H - -// End of File