equal
deleted
inserted
replaced
|
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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @publishedPartner |
|
19 @prototype |
|
20 */ |
|
21 |
|
22 #ifndef __DISPLAYHANDLER_H__ |
|
23 #define __DISPLAYHANDLER_H__ |
|
24 |
|
25 /** |
|
26 Display request handler interface |
|
27 */ |
|
28 class MDisplayHandler |
|
29 { |
|
30 public: |
|
31 /** |
|
32 Process a request on this logical channel. |
|
33 |
|
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 |
|
39 the TRequestStatus. |
|
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. |
|
43 */ |
|
44 virtual TInt HandleRequest(TInt aReqNo, TAny* a1, TAny* a2) = 0; |
|
45 }; |
|
46 |
|
47 #endif |
|
48 |