serviceapifw_plat/liw_generic_parameter_api/inc/liwbufferextension.h
author Stefan Karlsson <stefan.karlsson@nokia.com>
Sun, 28 Mar 2010 16:38:05 +0100
branchCompilerCompatibility
changeset 42 517cf7a3d88e
parent 27 bcef26ca2be3
permissions -rw-r--r--
Fixed "extra qualification" syntax errors.

#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