diff -r 000000000000 -r 40261b775718 imagingandcamerafws/imagingfws/ImageProcessor/inc/imageprocessorprogressinfo.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/imagingandcamerafws/imagingfws/ImageProcessor/inc/imageprocessorprogressinfo.h Tue Feb 02 01:56:55 2010 +0200 @@ -0,0 +1,62 @@ +// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +/** + @file + @publishedAll + @released +*/ + +#ifndef __IMAGE_PROCESSOR_PROGRESS_INFO_H__ +#define __IMAGE_PROCESSOR_PROGRESS_INFO_H__ + +#include + +namespace ImageProcessor + { + +class CImageProcessorImpl; + +namespace Plugin + { + class MProgressInfo; + } + +/** +This class provides functions to read progress information. + +@publishedAll +@released +*/ +class TProgressInfo + { +public: + IMPORT_C TInt CurrentIterationL() const; + IMPORT_C TInt NumberOfIterationsL() const; + IMPORT_C TAny* Extension(TUid aExtension) const; + +private: + friend class CImageProcessorImpl; + TProgressInfo(Plugin::MProgressInfo& aProgressInfoImpl, CImageProcessorImpl& aImageProcessorImpl); + + CImageProcessorImpl& iImageProcessorImpl; + Plugin::MProgressInfo& iProgressInfoImpl; + + TInt iReserved; // future proof + }; + + } + +#endif //__IMAGE_PROCESSOR_PROGRESS_INFO_H__