1 /* |
|
2 * Copyright (c) 2002 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: Callback interface class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MLPDRESULTHANDLER_H |
|
20 #define MLPDRESULTHANDLER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32def.h> |
|
24 |
|
25 // FORWARD DECLARATIONS |
|
26 class CLpdQueryLauncherBase; |
|
27 |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * Observer pattern for handling dialog result. Used by several |
|
33 * classes deriving from CLpdQueryLauncherBase. |
|
34 * |
|
35 * @lib locverifierdlg.lib |
|
36 * @since 2.1 |
|
37 */ |
|
38 class MLpdResultHandler |
|
39 { |
|
40 public: // New functions |
|
41 |
|
42 /** |
|
43 * Pure virtual observer method. |
|
44 * @param aResultCode |
|
45 */ |
|
46 virtual void HandleVerificationResultL( TInt aResultCode ) = 0; |
|
47 |
|
48 /** |
|
49 * Pure virtual observer method. |
|
50 * @param aResultCode |
|
51 */ |
|
52 virtual void HandleNotificationResultL( TInt aResultCode ) = 0; |
|
53 |
|
54 /** |
|
55 * Pure virtual observer method. Called if leave occurred in other |
|
56 * callback methods. Used because it is not acceptable to propagate |
|
57 * leave to AVKON dialog, plugin must clean up and continue with |
|
58 * handling of request queue. |
|
59 * @param aError code |
|
60 */ |
|
61 virtual void HandleLeave( TInt aError ) = 0; |
|
62 }; |
|
63 |
|
64 #endif // MLPDRESULTHANDLER_H |
|
65 |
|
66 // End of File |
|