camappengine/Engine/Inc/CaeImageItem.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:23:23 +0100
branchRCL_3
changeset 34 27fe719c32e6
parent 0 9b3e960ffc8a
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201031 Kit: 201035

/*
* Copyright (c) 2003 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:  Still Image Item for Camera Application Engine
*
*/



#ifndef CAEIMAGEITEM_H
#define CAEIMAGEITEM_H

// INCLUDES
#include <e32base.h>

// FORWARD DECLARATIONS
class HBufC8;
class CFbsBitmap;

// CLASS DECLARATION

// An image item class. Can be used in image queues.
NONSHARABLE_CLASS( CCaeImageItem ) : public CBase
    {
    
    public:
        /**
        * Default constructor.
        */
        CCaeImageItem( RHeap& aImageHeap );
         
        /**
        * Destructor.
        */
        virtual ~CCaeImageItem();
        
    public:
        // Bitmap pointer.
        CFbsBitmap* iBitmap;
        // Image pointer (not in bitmap format).
        TAny* iImageData;
        // Size of iImageData
        TInt iImageDataSize;
		// Heap for iImageData
		RHeap& iImageHeap; 
        // Possible error related to the image (from capturing).
        TInt iError;
        
    };



#endif // CAEIMAGEITEM_H   

// End of File