1 /* |
|
2 * Copyright (c) 2003-2004 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Command Handler Object Initiators. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MPHSRVCOMHANDINITIATORS_H |
|
20 #define MPHSRVCOMHANDINITIATORS_H |
|
21 |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 #include "phcltclientserver.h" |
|
26 #include <cphcltcommandhandler.h> |
|
27 // FORWARD DECLARATIONS |
|
28 |
|
29 |
|
30 |
|
31 // CLASS DECLARATION |
|
32 |
|
33 /** |
|
34 * Initiator functions class. |
|
35 * |
|
36 * @since 2.6 |
|
37 */ |
|
38 class MPhSrvComHandInitiator |
|
39 { |
|
40 public: // New functions |
|
41 |
|
42 /** |
|
43 * Called by the command handler manager when it wants to make a request, |
|
44 * in response to a request from the external command handler interface. |
|
45 * |
|
46 * @param aParams The command handler parameters. |
|
47 */ |
|
48 virtual void InitiatorMakeAsynchronousComHandRequest( |
|
49 const TPhCltComHandCommandParameters& aParams ) = 0; |
|
50 |
|
51 /** |
|
52 * Called by the command handler manager to find out if there is a |
|
53 * registered notification handler. |
|
54 * |
|
55 * @return ETrue if there is pending notification request. |
|
56 */ |
|
57 virtual TBool InitiatorIsReadyToPerformRequest() const = 0; |
|
58 }; |
|
59 |
|
60 #endif // MPHSRVCOMHANDINITIATORS_H |
|
61 |
|
62 |
|
63 // End of File |
|