// EIKIMGAR.H
//
// Copyright (c) 1997-1999 Symbian Ltd.  All rights reserved.
//

#if !defined(__EIKIMGAR_H__)
#define __EIKIMGAR_H__

#if !defined(__COECNTRL_H__)
#include <coecntrl.h>
#endif

class CEikImage;
class CEikImageArray : public CCoeControl
	{
public:
	IMPORT_C CEikImageArray();
	IMPORT_C ~CEikImageArray();
	IMPORT_C void ConstructL();
	IMPORT_C void InsertImageL(TInt aIndex, CEikImage* aImage);
	IMPORT_C void RemoveImage(TInt aIndex);
	IMPORT_C void AppendImageL(CEikImage* aImage);
	IMPORT_C TInt NumberOfImages() const;
	IMPORT_C void MakeImageVisible(TInt aIndex, TBool aVisible) const;
public:	// virtual
	IMPORT_C virtual TSize MinimumSize();
	IMPORT_C virtual void ConstructFromResourceL(TResourceReader& aReader);
private: // virtual
	virtual void SizeChangedL();
	virtual TInt CountComponentControls() const;
	virtual CCoeControl* ComponentControl(TInt aIndex) const;
private:
	TInt iTotalImageWidth;
	CArrayPtr<CEikImage>* iImageArray;
	};

#endif