|
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: Requestor utilities, supports Resolving of Requestors. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CLOCREQUESTORUTILSRESOLVER_H |
|
20 #define CLOCREQUESTORUTILSRESOLVER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 |
|
25 //FORWARD DECLARATION |
|
26 class CPosRequestor; |
|
27 class QLocNotificationEngine; |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * |
|
33 * |
|
34 * |
|
35 */ |
|
36 class CLocRequestorUtilsResolver : public CBase |
|
37 { |
|
38 public: // Constructors and destructor |
|
39 |
|
40 /** |
|
41 * Symbian OS constructor |
|
42 * @param None |
|
43 * @return new object |
|
44 */ |
|
45 IMPORT_C static CLocRequestorUtilsResolver* NewL(); |
|
46 |
|
47 /** |
|
48 * Destructor. |
|
49 */ |
|
50 ~CLocRequestorUtilsResolver(); |
|
51 |
|
52 public: // Implement base class virtual methods |
|
53 /** |
|
54 * Resolve the requestors. |
|
55 * @param[IN,OUT] aRequestors Array of Requestors,ownership is transferred to caller |
|
56 |
|
57 */ |
|
58 IMPORT_C void ResolveRequestorsL( |
|
59 RPointerArray<CPosRequestor>& aRequestors ); |
|
60 |
|
61 |
|
62 private: // Constructors |
|
63 /** |
|
64 * C++ default constructor. |
|
65 */ |
|
66 CLocRequestorUtilsResolver(); |
|
67 |
|
68 /** |
|
69 * The Symbian 2nd Phase Constructor is always Private |
|
70 */ |
|
71 void ConstructL(); |
|
72 |
|
73 |
|
74 |
|
75 private: // member data |
|
76 |
|
77 // Qt implementation class for notification engine.Ownership remains with object |
|
78 QLocNotificationEngine* iEngine; |
|
79 }; |
|
80 |
|
81 #endif // CLOCREQUESTORUTILSRESOLVER_H |
|
82 |
|
83 // End of File |