|
1 /* |
|
2 * Copyright (c) 2008 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: Implementation for cvimpstuicontactselection ,a contact selection class from pbk |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 |
|
21 #ifndef CVIMPSTUICONTACTSELECTION_H_ |
|
22 #define CVIMPSTUICONTACTSELECTION_H_ |
|
23 |
|
24 #include <e32base.h> |
|
25 |
|
26 //forward declaration. |
|
27 class CVIMPSTUiTabbedView; |
|
28 |
|
29 // CLASS DECLARATION |
|
30 /** |
|
31 * contacselection implementation |
|
32 * @lib vimpstui.lib |
|
33 * @since S60 v5.0 |
|
34 */ |
|
35 |
|
36 class CVIMPSTUiContactSelection : public CActive |
|
37 { |
|
38 public: |
|
39 /** |
|
40 * Creates a new instance of this class. |
|
41 * @param iViewObserver ,reference to tabbed view caller class |
|
42 * @return A new instance of this class. |
|
43 */ |
|
44 static CVIMPSTUiContactSelection* NewL(CVIMPSTUiTabbedView& iViewObserver ); |
|
45 /** |
|
46 * destructor |
|
47 */ |
|
48 ~CVIMPSTUiContactSelection(); |
|
49 |
|
50 /** |
|
51 * helper method to issue request. |
|
52 */ |
|
53 void IssueRequest(); |
|
54 |
|
55 |
|
56 private: |
|
57 |
|
58 /** |
|
59 * default constructor. |
|
60 * @param iViewObserver ,reference to tabbed view caller class |
|
61 */ |
|
62 CVIMPSTUiContactSelection(CVIMPSTUiTabbedView& iViewObserver ); |
|
63 |
|
64 private: // From CActive |
|
65 void RunL(); |
|
66 void DoCancel(); |
|
67 TInt RunError( TInt aError ); |
|
68 |
|
69 private://member variables |
|
70 |
|
71 //doesnt own - reference to tabbed view |
|
72 // for notification about request completion |
|
73 CVIMPSTUiTabbedView& iViewObserver; |
|
74 |
|
75 }; |
|
76 |
|
77 |
|
78 #endif /* CVIMPSTUICONTACTSELECTION_H_ */ |