|
1 /* |
|
2 * Copyright (c) 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 CPhCntSpeedDialContactLinkFetch class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CPHCNTSPEEDDIALCONTACTFETCH_H |
|
20 #define CPHCNTSPEEDDIALCONTACTFETCH_H |
|
21 |
|
22 #include "cphcntcontactlinkarrayfetch.h" |
|
23 |
|
24 class MPhCntContactManager; |
|
25 class MVPbkContactLink; |
|
26 class MVPbkContactOperationBase; |
|
27 |
|
28 /** |
|
29 * ?one_line_short_description |
|
30 * |
|
31 * ?more_complete_description |
|
32 * |
|
33 * @lib ?library |
|
34 * @since S60 ?S60_version *** for example, S60 v3.0 |
|
35 */ |
|
36 NONSHARABLE_CLASS( CPhCntSpeedDialContactLinkFetch ) : public CPhCntContactLinkArrayFetch |
|
37 { |
|
38 |
|
39 public: |
|
40 |
|
41 static CPhCntSpeedDialContactLinkFetch* NewL( |
|
42 MPhCntContactManager& aContactManager ); |
|
43 |
|
44 static CPhCntSpeedDialContactLinkFetch* NewLC( |
|
45 MPhCntContactManager& aContactManager ); |
|
46 |
|
47 virtual ~CPhCntSpeedDialContactLinkFetch(); |
|
48 |
|
49 /** |
|
50 * Fetches contact link which is assigned to speed dial position. |
|
51 * |
|
52 * @since S60 v3.1 |
|
53 * @param aSpeedDialPosition Speed dial position. |
|
54 * @return Contact link to speed dial contact. |
|
55 */ |
|
56 const MVPbkContactLink& FetchSpeedDialLinkL( |
|
57 TInt aSpeedDialPosition ); |
|
58 |
|
59 /** |
|
60 * From CPhCntAsyncToSync |
|
61 * |
|
62 * @since S60 ?S60_version |
|
63 * @param ?arg1 ?description |
|
64 * @param ?arg2 ?description |
|
65 * @return ?description |
|
66 */ |
|
67 void DoMakeAsyncRequestL(); |
|
68 |
|
69 |
|
70 // from base class ?base_class1 |
|
71 |
|
72 /** |
|
73 * From ?base_class1. |
|
74 * ?description |
|
75 * |
|
76 * @since S60 ?S60_version |
|
77 * @param ?arg1 ?description |
|
78 */ |
|
79 |
|
80 // from base class ?base_class2 |
|
81 |
|
82 private: |
|
83 |
|
84 CPhCntSpeedDialContactLinkFetch( |
|
85 MPhCntContactManager& aContactManager ); |
|
86 |
|
87 void ConstructL(); |
|
88 |
|
89 |
|
90 private: // data |
|
91 |
|
92 /** |
|
93 * Contact manager. |
|
94 * Not own. |
|
95 */ |
|
96 MPhCntContactManager& iContactManager; |
|
97 |
|
98 /** |
|
99 * Operation of contact link fetch. |
|
100 * Own. |
|
101 */ |
|
102 MVPbkContactOperationBase* iOperation; |
|
103 |
|
104 /** |
|
105 * Parameter stored from FetchSpeedDialLinkL |
|
106 */ |
|
107 TInt iSpeedDialPosition; |
|
108 |
|
109 }; |
|
110 |
|
111 #endif // CPHCNTSPEEDDIALCONTACTFETCH_H |