Update contrib.
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
22 #ifndef __DISPLAYHANDLER_H__
23 #define __DISPLAYHANDLER_H__
26 Display request handler interface
32 Process a request on this logical channel.
34 @param aReqNo Request number:
35 == KMaxTInt, a 'DoCancel' message
36 >= 0, a 'DoControl' message with function number equal to aReqNo
37 < 0, a 'DoRequest' message with function number equal to ~aReqNo
38 @param a1 First argument. For DoRequest requests this is a pointer to
40 @param a2 Second argument. For DoRequest this is a pointer to the 2
41 actual TAny* arguments.
42 @return Result. Ignored by device driver framework for DoRequest requests.
44 virtual TInt HandleRequest(TInt aReqNo, TAny* a1, TAny* a2) = 0;