camappengine/Engine/Src/CaeImageItem.cpp
branchRCL_3
changeset 34 27fe719c32e6
parent 0 9b3e960ffc8a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/camappengine/Engine/Src/CaeImageItem.cpp	Wed Sep 01 12:23:23 2010 +0100
@@ -0,0 +1,48 @@
+/*
+* 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
+*
+*/
+
+
+// INCLUDE FILES
+#include "CaeImageItem.h"                   // Still image item class.
+#include <fbs.h>                            // For CFbsBitmap
+
+
+// ============================ MEMBER FUNCTIONS ===============================
+
+
+// -----------------------------------------------------------------------------
+// CCaeImageItem::CCaeImageItem
+// -----------------------------------------------------------------------------
+//
+CCaeImageItem::CCaeImageItem( RHeap& aImageHeap ) 
+	: iImageHeap( aImageHeap ) 
+    {
+    }
+
+
+// -----------------------------------------------------------------------------
+// CCaeImageItem::~CCaeImageItem
+// Destroys image queue.
+// -----------------------------------------------------------------------------
+//
+CCaeImageItem::~CCaeImageItem()
+    {
+    delete iBitmap;
+    iImageHeap.Free(iImageData);
+    }
+
+//  End of File