epoc32/include/conlist.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- a/epoc32/include/conlist.h	Tue Mar 16 16:12:26 2010 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,116 +0,0 @@
     1.4 -// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 -// All rights reserved.
     1.6 -// This component and the accompanying materials are made available
     1.7 -// 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
     1.8 -// which accompanies this distribution, and is available
     1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 -//
    1.11 -// Initial Contributors:
    1.12 -// Nokia Corporation - initial contribution.
    1.13 -//
    1.14 -// Contributors:
    1.15 -//
    1.16 -// Description:
    1.17 -//
    1.18 -
    1.19 -#if !defined(__CONLIST_H__)
    1.20 -#define __CONLIST_H__
    1.21 -
    1.22 -#if !defined(__E32BASE_H__)
    1.23 -#include <e32base.h>
    1.24 -#endif
    1.25 -
    1.26 -#if !defined(__F32FILE_H__)
    1.27 -#include <f32file.h>
    1.28 -#endif
    1.29 -
    1.30 -#if !defined(__CONARC_H__)
    1.31 -#include <conarc.h>
    1.32 -#endif
    1.33 -
    1.34 -#if !defined(__CONCNF_H__)
    1.35 -#include <concnf.h>
    1.36 -#endif
    1.37 -
    1.38 -#if !defined(__IMPLEMENTATION_INFORMATION_H__)
    1.39 -#include <ecom/implementationinformation.h>
    1.40 -#endif
    1.41 -#if !defined(__ECOM_H__)
    1.42 -#include <ecom/ecom.h>
    1.43 -#endif
    1.44 -
    1.45 -
    1.46 -/** Creates a converter dll's factory interface object.
    1.47 -
    1.48 -@publishedAll
    1.49 -@deprecated
    1.50 -*/
    1.51 -typedef CConverterLibrary* (*CreateCConverterLibrary)(); 
    1.52 -
    1.53 -struct SConverterInfo
    1.54 -/** Describes a converter, as obtained from a converter list (CCnaConverterList).
    1.55 -
    1.56 -@publishedAll
    1.57 -@released
    1.58 -@see CCnaConverterList */
    1.59 -	{
    1.60 -	/** Localised name of the data type. */
    1.61 -	TTranslation iTranslation;
    1.62 -	/** Converter UID. */
    1.63 -	TUid iUid;
    1.64 -	/** Position of the converter in the list. */
    1.65 -	TInt iIndex;
    1.66 -	};
    1.67 -
    1.68 -class CCnaConverterList : public CBase
    1.69 -/** Provides a list of available converters, allowing clients to search for and 
    1.70 -obtain converters for specific source and target data types. 
    1.71 -
    1.72 -@publishedAll
    1.73 -@released */
    1.74 -	{
    1.75 -public:
    1.76 -	IMPORT_C static CCnaConverterList* NewL();
    1.77 -	IMPORT_C static CCnaConverterList* NewLC();
    1.78 -	IMPORT_C void Release();
    1.79 -	IMPORT_C ~CCnaConverterList();
    1.80 -//
    1.81 -	IMPORT_C TInt CountL();
    1.82 -	inline TInt Count();
    1.83 -	IMPORT_C CConverterBase* NewConverterL(TUid aUid);
    1.84 -	IMPORT_C void UpdateL();
    1.85 -	IMPORT_C TUid ConvFromL(const TDataType& aMimeType); // searches for a particular converter
    1.86 -	IMPORT_C TUid ConvToL(const TDataType& aMimeType);
    1.87 -	IMPORT_C TUid ConverterL(const TDataType& aFrom,const TDataType& aTo);
    1.88 -	IMPORT_C void ConvFromListL(const TDataType& aMimeType,CArrayFix<SConverterInfo>* aSConverterInfoArray);
    1.89 -	IMPORT_C void ConvToListL(const TDataType& aMimeType,CArrayFix<SConverterInfo>* aSConverterInfoArray);
    1.90 -	IMPORT_C TInt MimeTypeFrom(TDataType& aDataType,const SConverterInfo& aConverterInfo) const;
    1.91 -	IMPORT_C TInt MimeTypeTo(TDataType& aDataType,const SConverterInfo& aConverterInfo) const;
    1.92 -private:
    1.93 -	CCnaConverterList();
    1.94 -	void ConstructL();
    1.95 -	CConverterBase* LoadConverterL(TUid aImplUid);
    1.96 -private:
    1.97 -	TBool iDoneScan;
    1.98 -	CArrayPtr<CCnaConverter>* iConverters;
    1.99 -	RImplInfoPtrArray iImplementationArray;
   1.100 -	};
   1.101 -
   1.102 -class ConverterListUtil
   1.103 -/** @internalComponent */
   1.104 -	{
   1.105 -public:
   1.106 -	static CConverterBase* UtilityConverterL(TUid aUid);
   1.107 -	static TInt CountUtilityConverters();
   1.108 -	};
   1.109 -
   1.110 -inline TInt CCnaConverterList::Count()
   1.111 -/** @deprecated
   1.112 -
   1.113 -Deprecated - Use CCnaConverterList::CountL instead. 
   1.114 -Rescan of the disk to refresh the list of converters could leave. */
   1.115 -	{
   1.116 -	return CountL();
   1.117 -	}
   1.118 -
   1.119 -#endif