emulator/emulatorbsp/inc/displayhandler.h
author hgs
Fri, 14 May 2010 09:37:17 +0530
changeset 15 ac35e54b1f85
parent 0 cec860690d41
child 17 ce191d16bb9a
permissions -rw-r--r--
201019_05

// Copyright (c) 2007-2009 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:
//

/**
 @file
 @publishedPartner
 @prototype
*/

#ifndef __DISPLAYHANDLER_H__
#define __DISPLAYHANDLER_H__

/**
Display request handler interface
*/
class MDisplayHandler
	{
public:
	/**
	Process a request on this logical channel.
	
	@param aReqNo	Request number:
			== KMaxTInt, a 'DoCancel' message
			>= 0, a 'DoControl' message with function number equal to aReqNo
			< 0, a 'DoRequest' message with function number equal to ~aReqNo
	@param a1		First argument. For DoRequest requests this is a pointer to
			the TRequestStatus.
	@param a2     Second argument. For DoRequest this is a pointer to the 2
			actual TAny* arguments.
	@return	Result. Ignored by device driver framework for DoRequest requests.
	*/
	virtual TInt HandleRequest(TInt aReqNo, TAny* a1, TAny* a2) = 0;
	};

#endif