epoc32/include/imageprocessor/imageprocessorprogressinfo.h
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/imageprocessor/imageprocessorprogressinfo.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,62 @@
     1.4 +// Copyright (c) 2008-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 "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.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 +/**
    1.20 + @file
    1.21 + @publishedAll
    1.22 + @released 
    1.23 +*/
    1.24 +
    1.25 +#ifndef __IMAGE_PROCESSOR_PROGRESS_INFO_H__
    1.26 +#define __IMAGE_PROCESSOR_PROGRESS_INFO_H__
    1.27 +
    1.28 +#include <e32base.h>
    1.29 +
    1.30 +namespace ImageProcessor
    1.31 +	{
    1.32 +
    1.33 +class CImageProcessorImpl;
    1.34 +
    1.35 +namespace Plugin
    1.36 +	{
    1.37 +	class MProgressInfo;
    1.38 +	}
    1.39 +
    1.40 +/**
    1.41 +This class provides functions to read progress information.
    1.42 +
    1.43 +@publishedAll
    1.44 +@released
    1.45 +*/
    1.46 +class TProgressInfo
    1.47 +	{
    1.48 +public:
    1.49 +	IMPORT_C TInt CurrentIterationL() const;
    1.50 +	IMPORT_C TInt NumberOfIterationsL() const;
    1.51 +	IMPORT_C TAny* Extension(TUid aExtension) const;
    1.52 +	
    1.53 +private:
    1.54 +	friend class CImageProcessorImpl;
    1.55 +	TProgressInfo(Plugin::MProgressInfo& aProgressInfoImpl, CImageProcessorImpl& aImageProcessorImpl);
    1.56 +
    1.57 +	CImageProcessorImpl& iImageProcessorImpl;
    1.58 +	Plugin::MProgressInfo& iProgressInfoImpl;
    1.59 +
    1.60 +	TInt iReserved; // future proof
    1.61 +	};
    1.62 +
    1.63 +	}
    1.64 +
    1.65 +#endif //__IMAGE_PROCESSOR_PROGRESS_INFO_H__