|
1 /* |
|
2 * Copyright (c) 2010 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: Class which handles the dialog and expiration timer. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CLPDVERIFIERQUERYLAUNCHER_H |
|
20 #define CLPDVERIFIERQUERYLAUNCHER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include "lpdquerylauncherbase.h" |
|
24 #include <e32base.h> |
|
25 #include <lbs/epos_privacy.h> |
|
26 |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class CLpdGlobalPluginDialog; |
|
30 |
|
31 |
|
32 // CLASS DECLARATION |
|
33 |
|
34 /** |
|
35 * Implements functionality for executing verification queries. |
|
36 * |
|
37 * @lib locverifierdlg.lib |
|
38 * @since 2.1 |
|
39 */ |
|
40 class CLpdVerifierQueryLauncher : |
|
41 public CLpdQueryLauncherBase |
|
42 { |
|
43 public: // Constructors and destructor |
|
44 |
|
45 /** |
|
46 * Two-phased constructor. |
|
47 * @param aHandler of ther query result |
|
48 * @return created object |
|
49 */ |
|
50 static CLpdVerifierQueryLauncher* NewL( |
|
51 MLpdResultHandler& aHandler ); |
|
52 |
|
53 /** |
|
54 * Destructor. Call Cancel() first if you have launched a query. |
|
55 */ |
|
56 virtual ~CLpdVerifierQueryLauncher(); |
|
57 |
|
58 public: // New functions |
|
59 |
|
60 |
|
61 protected: // Functions from base classes |
|
62 |
|
63 /** |
|
64 * From CLpdQueryLauncherBase, called when dialog is dismissed. |
|
65 */ |
|
66 void ExtendedHandleDlgDismissedL(); |
|
67 |
|
68 void RequestType(TRequestType& aRequestType); |
|
69 |
|
70 private: // Constructors and destructors |
|
71 |
|
72 /** |
|
73 * C++ constructor. |
|
74 * @param aHandler of the query result |
|
75 */ |
|
76 CLpdVerifierQueryLauncher( MLpdResultHandler& aHandler ); |
|
77 |
|
78 /** |
|
79 * By default Symbian 2nd phase constructor is private. |
|
80 */ |
|
81 void ConstructL(); |
|
82 |
|
83 |
|
84 }; |
|
85 |
|
86 #endif // CLPDVERIFIERQUERYLAUNCHER_H |
|
87 |
|
88 // End of File |