diff -r 000000000000 -r ca436256272f profilesapplication/Profiles/ProfileApp/SettingsViewSrc/ProfileMmfInfoUtility.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/profilesapplication/Profiles/ProfileApp/SettingsViewSrc/ProfileMmfInfoUtility.h Thu Dec 17 08:45:58 2009 +0200 @@ -0,0 +1,63 @@ +/* +* 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 ); + + private: // Constructor and destructor + + /** + * Default constructor. This is private since this class is not intended + * to be instantiated. + */ + ProfileMmfInfoUtility() {}; + + // Destructor. + ~ProfileMmfInfoUtility() {}; + }; + +#endif // PROFILEMMFINFOUTILITY_H + +// End of File