imaging/imagingfws/src/Test/TImageDisplay/plugininfoarray.h
changeset 0 5752a19fdefe
equal deleted inserted replaced
-1:000000000000 0:5752a19fdefe
       
     1 // Copyright (c) 2005-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 //
       
    15 
       
    16 #ifndef PLUGININFOARRAY_H
       
    17 
       
    18 #define PLUGININFOARRAY_H
       
    19 
       
    20 #include <imageconversion.h>
       
    21 
       
    22 class CPluginInfoArray : public CBase, public MDesCArray
       
    23 	{
       
    24 public:
       
    25 	static CPluginInfoArray* NewL();
       
    26 	virtual ~CPluginInfoArray();
       
    27 
       
    28 	void Reset();
       
    29 
       
    30 	void RefreshPluginListL();
       
    31 	TUid ImageType(TInt aIndex);
       
    32 	TUid SubType(TInt aIndex);
       
    33 
       
    34 	//From MDesCArray
       
    35     TInt MdcaCount() const;
       
    36     TPtrC MdcaPoint(TInt aIndex) const;
       
    37 
       
    38 private:
       
    39 	CPluginInfoArray();
       
    40 	void ConstructL();
       
    41 
       
    42 public:
       
    43 	RImageTypeDescriptionArray iPluginArray;
       
    44 	};
       
    45 
       
    46 #endif // ndef PLUGININFOARRAY_H
       
    47