serviceapifw_plat/liw_generic_parameter_api/inc/liwbufferextension.h
author Kiiskinen Klaus (Nokia-D-MSW/Tampere) <klaus.kiiskinen@nokia.com>
Mon, 30 Mar 2009 12:51:20 +0300
changeset 0 99ef825efeca
child 27 bcef26ca2be3
permissions -rw-r--r--
Revision: 200911 Kit: 200912

#ifndef LIW_BUFFEREXTENSION_H
#define LIW_BUFFEREXTENSION_H/*
* Copyright (c) 2003-2005 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "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:       Abstract bitmap buffer representation.
*
*/







#include <fbs.h>

#include "LiwVariant.h"
class CFbsBitmap;

class CLiwBitmapBuffer : public CLiwBuffer
	{
	public:
		/*
		 * The concrete implementation of buffer types should perform equality operation
		 * check. This is a platform specifc extension class to support bitmap
		 * buffer to abstract CFbsBitmap type.
		 
		 *
		 * @return platform specific bitmap representation. By default, this method
		 * returns NULL
		 */
		virtual CFbsBitmap* AsBitmap()
			{
			return NULL;	// return NULL by default
			} 
	};

/**
 	* Abstract file buffer representation.
	*
**/
class CLiwFileBuffer : public CLiwBuffer
{
	public:
		virtual RFile& AsFile() = 0;
};

#endif