diff -r 000000000000 -r bde4ae8d615e os/boardsupport/emulator/emulatorbsp/inc/displayhandler.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/boardsupport/emulator/emulatorbsp/inc/displayhandler.h Fri Jun 15 03:10:57 2012 +0200 @@ -0,0 +1,48 @@ +// 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 +