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