Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
1 // Copyright (c) 1997-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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #if !defined(__CONLIST_H__)
19 #if !defined(__E32BASE_H__)
23 #if !defined(__F32FILE_H__)
27 #if !defined(__CONARC_H__)
31 #if !defined(__CONCNF_H__)
35 #if !defined(__IMPLEMENTATION_INFORMATION_H__)
36 #include <ecom/implementationinformation.h>
38 #if !defined(__ECOM_H__)
39 #include <ecom/ecom.h>
43 /** Creates a converter dll's factory interface object.
48 typedef CConverterLibrary* (*CreateCConverterLibrary)();
51 /** Describes a converter, as obtained from a converter list (CCnaConverterList).
55 @see CCnaConverterList */
57 /** Localised name of the data type. */
58 TTranslation iTranslation;
61 /** Position of the converter in the list. */
65 class CCnaConverterList : public CBase
66 /** Provides a list of available converters, allowing clients to search for and
67 obtain converters for specific source and target data types.
73 IMPORT_C static CCnaConverterList* NewL();
74 IMPORT_C static CCnaConverterList* NewLC();
75 IMPORT_C void Release();
76 IMPORT_C ~CCnaConverterList();
78 IMPORT_C TInt CountL();
80 IMPORT_C CConverterBase* NewConverterL(TUid aUid);
81 IMPORT_C void UpdateL();
82 IMPORT_C TUid ConvFromL(const TDataType& aMimeType); // searches for a particular converter
83 IMPORT_C TUid ConvToL(const TDataType& aMimeType);
84 IMPORT_C TUid ConverterL(const TDataType& aFrom,const TDataType& aTo);
85 IMPORT_C void ConvFromListL(const TDataType& aMimeType,CArrayFix<SConverterInfo>* aSConverterInfoArray);
86 IMPORT_C void ConvToListL(const TDataType& aMimeType,CArrayFix<SConverterInfo>* aSConverterInfoArray);
87 IMPORT_C TInt MimeTypeFrom(TDataType& aDataType,const SConverterInfo& aConverterInfo) const;
88 IMPORT_C TInt MimeTypeTo(TDataType& aDataType,const SConverterInfo& aConverterInfo) const;
92 CConverterBase* LoadConverterL(TUid aImplUid);
95 CArrayPtr<CCnaConverter>* iConverters;
96 RImplInfoPtrArray iImplementationArray;
99 class ConverterListUtil
100 /** @internalComponent */
103 static CConverterBase* UtilityConverterL(TUid aUid);
104 static TInt CountUtilityConverters();
107 inline TInt CCnaConverterList::Count()
110 Deprecated - Use CCnaConverterList::CountL instead.
111 Rescan of the disk to refresh the list of converters could leave. */