1 /* |
|
2 * Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: A wrapper interface around MMF (Multimedia Framework) to get |
|
15 * information about MIME-types supported by MMF. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef PROFILEMMFINFOUTILITY_H |
|
22 #define PROFILEMMFINFOUTILITY_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <e32std.h> |
|
26 |
|
27 // CLASS DECLARATION |
|
28 |
|
29 /** |
|
30 * A helper interface used by CProfileToneHandler to check whether a MIME |
|
31 * type is supported by MMF. |
|
32 * |
|
33 * @lib ProfileSettingsView.lib |
|
34 * @since Series 60 3.0 |
|
35 */ |
|
36 class ProfileMmfInfoUtility |
|
37 { |
|
38 public: // New functions |
|
39 |
|
40 /** |
|
41 * Checks if the given MIME-type is supported by MMF. In other words, |
|
42 * checks if there is an MMF plugin to handle the given MIME type. |
|
43 * @param aMimeType the MIME type for which an MMF plugin is searched. |
|
44 * @return ETrue if the given MIME is supported by MMF, |
|
45 * EFalse otherwise. |
|
46 */ |
|
47 static TBool IsMimeTypeSupportedL( const TDesC8& aMimeType ); |
|
48 |
|
49 private: // Constructor and destructor |
|
50 |
|
51 /** |
|
52 * Default constructor. This is private since this class is not intended |
|
53 * to be instantiated. |
|
54 */ |
|
55 ProfileMmfInfoUtility() {}; |
|
56 |
|
57 // Destructor. |
|
58 ~ProfileMmfInfoUtility() {}; |
|
59 }; |
|
60 |
|
61 #endif // PROFILEMMFINFOUTILITY_H |
|
62 |
|
63 // End of File |
|