|
1 /* |
|
2 * Copyright (c) 2005 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: Interface for proxy operations |
|
15 * |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef MPOSLMLOCALINTERNALPROXYOPCLIENT_H |
|
21 #define MPOSLMLOCALINTERNALPROXYOPCLIENT_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 |
|
28 /** |
|
29 * Interface for proxy operations, which use this interface to redirect incoming |
|
30 * calls from NextStep and ExecuteL to DoNextStep and DoExecuteL respectively. |
|
31 * |
|
32 * This interface is implemented by operation classes which provide another |
|
33 * way to perform the operation in asynchronous steps or in one single |
|
34 * synchronous step, other than using NextStep and ExecuteL (from |
|
35 * CPosLmOperation). |
|
36 */ |
|
37 class MPosLmLocalInternalProxyOpClient |
|
38 { |
|
39 |
|
40 public: // New functions |
|
41 |
|
42 /** |
|
43 * Performs the next step of the operation asynchronously. |
|
44 * |
|
45 * @param aStatus A request status. |
|
46 * @param aProgress The operation progress |
|
47 */ |
|
48 virtual void DoNextStep( |
|
49 /* OUT */ TRequestStatus& aStatus, |
|
50 /* OUT */ TReal32& aProgress |
|
51 ) = 0; |
|
52 |
|
53 /** |
|
54 * Performs the operation synchronously. |
|
55 */ |
|
56 virtual void DoExecuteL() = 0; |
|
57 |
|
58 }; |
|
59 |
|
60 #endif // MPOSLMLOCALINTERNALPROXYOPCLIENT_H |
|
61 |
|
62 // End of File |