1 /* |
|
2 * Copyright (c) 2007 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: Definition of the class CPbkxRemoteContactLookupEnv. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CPBKXREMOTECONTACTLOOKUPENV_H |
|
20 #define CPBKXREMOTECONTACTLOOKUPENV_H |
|
21 |
|
22 #include <e32base.h> |
|
23 #include <e32std.h> |
|
24 #include "mpbkxremotecontactlookupserviceui.h" |
|
25 #include "mpbkxremotecontactlookupsettingsui.h" |
|
26 |
|
27 // <cmail> S60 UID update |
|
28 const TInt KPbkxRemoteContactLookupServiceImplImpUid = 0x2001FE0D; |
|
29 // </cmail> S60 UID update |
|
30 |
|
31 /** |
|
32 * Remote Contact Lookup UI API. |
|
33 * Defines an ECom interface for the Remote Contact Lookup UI |
|
34 * |
|
35 * @since S60 3.1 |
|
36 */ |
|
37 class CPbkxRemoteContactLookupEnv : public CBase |
|
38 { |
|
39 |
|
40 public: |
|
41 |
|
42 /** |
|
43 * Two-phased constructor. |
|
44 * |
|
45 * @return instance of CPbkxRemoteContactLookupEnv |
|
46 */ |
|
47 static CPbkxRemoteContactLookupEnv* NewL(); |
|
48 |
|
49 /** |
|
50 * Destructor. |
|
51 */ |
|
52 virtual ~CPbkxRemoteContactLookupEnv(); |
|
53 |
|
54 /** |
|
55 * Return instance of Service UI API. The ownership is not transfered |
|
56 * to the caller and the same instance will be returned for every |
|
57 * call. |
|
58 * |
|
59 * @return instance of MPbkxRemoteContactLookupServiceUi |
|
60 */ |
|
61 virtual MPbkxRemoteContactLookupServiceUi* ServiceUiL() = 0; |
|
62 |
|
63 /** |
|
64 * Return instance of Settings UI API. The ownership is not transfered |
|
65 * to the caller and the same instance will be returned for every |
|
66 * call. |
|
67 * |
|
68 * @return instance of MPbkxRemoteContactLookupSettingsUi |
|
69 */ |
|
70 virtual MPbkxRemoteContactLookupSettingsUi* SettingsUiL() = 0; |
|
71 |
|
72 private: // data |
|
73 |
|
74 /** iDtor_ID_Key Instance identifier key. When instance of an |
|
75 * implementation is created by ECOM framework, the |
|
76 * framework will assign UID for it. The UID is used in |
|
77 * destructor to notify framework that this instance is |
|
78 * being destroyed and resources can be released. |
|
79 */ |
|
80 TUid iDtor_ID_Key; |
|
81 }; |
|
82 |
|
83 #include "cpbkxremotecontactlookupenv.inl" |
|
84 |
|
85 #endif // CPBKXREMOTECONTACTLOOKUPENV_H |
|