|
1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Utilities used by Encoders and Decoders |
|
15 // |
|
16 // |
|
17 |
|
18 #ifndef __ENDECODER_UTILS_H__ |
|
19 #define __ENDECODER_UTILS_H__ |
|
20 |
|
21 const TUid KImageDecoderInterfaceUid = {0x101F45AD}; |
|
22 const TUid KImageEncoderInterfaceUid = {0x101F45B4}; |
|
23 const TUid KImageConvertResolverUid = {0x101F45DC}; |
|
24 |
|
25 /** |
|
26 * |
|
27 * This class is not for public use |
|
28 * |
|
29 */ |
|
30 class ImageEnDecoderUtils |
|
31 { |
|
32 public: |
|
33 static void DoGetImageTypesL(TUid aInterfaceUid, RImageTypeDescriptionArray& aImageTypeArray, TUid aBaseType = KNullUid); |
|
34 static void DoGetFileTypesL(TUid aInterfaceUid, RFileExtensionMIMETypeArray& aFileTypeArray); |
|
35 static void DoGetImplementationInformationL(const TUid aInterfaceUid, CImplementationInformationType& aImplementationInformation,const TUid aImplementationUid); |
|
36 static TInt SortAsending(const CFileExtensionMIMEType& aItem1, const CFileExtensionMIMEType& aItem2); |
|
37 static void DoGetPluginPropertiesL(const TUid aInterfaceUid, const TUid aImplementationUid, RUidDataArray& aPropertiesArray, const TUint aOptions = 0); |
|
38 static void DoGetInterfaceImplementationsL(const TUid aInterfaceUid, const RUidDataArray& aRequiredUids, RUidDataArray& aImplArray); |
|
39 }; |
|
40 |
|
41 #endif // __ENDECODER_UTILS_H__ |