equal
deleted
inserted
replaced
21 |
21 |
22 // INCLUDES |
22 // INCLUDES |
23 #include <e32base.h> |
23 #include <e32base.h> |
24 #include "MPbk2FetchDlgPage.h" |
24 #include "MPbk2FetchDlgPage.h" |
25 #include "MPbk2ControlObserver.h" |
25 #include "MPbk2ControlObserver.h" |
26 #include "MPbk2StoreConfigurationObserver.h" |
|
27 |
26 |
28 // FORWARD DECLARATIONS |
27 // FORWARD DECLARATIONS |
29 class CPbk2NamesListControl; |
28 class CPbk2NamesListControl; |
30 class MPbk2FetchDlg; |
29 class MPbk2FetchDlg; |
31 class MVPbkContactViewBase; |
30 class MVPbkContactViewBase; |
37 * Phonebook 2 fetch dialog page. |
36 * Phonebook 2 fetch dialog page. |
38 * Responsible for presenting and managing a single fetch page. |
37 * Responsible for presenting and managing a single fetch page. |
39 */ |
38 */ |
40 NONSHARABLE_CLASS(CPbk2FetchDlgPage) : public CBase, |
39 NONSHARABLE_CLASS(CPbk2FetchDlgPage) : public CBase, |
41 public MPbk2FetchDlgPage, |
40 public MPbk2FetchDlgPage, |
42 private MPbk2ControlObserver, |
41 private MPbk2ControlObserver |
43 private MPbk2StoreConfigurationObserver |
|
44 { |
42 { |
45 public: // Constructors and destructor |
43 public: // Constructors and destructor |
46 |
44 |
47 /** |
45 /** |
48 * Creates a new instance of this class. |
46 * Creates a new instance of this class. |
79 |
77 |
80 private: // From MPbk2ControlObserver |
78 private: // From MPbk2ControlObserver |
81 void HandleControlEventL( |
79 void HandleControlEventL( |
82 MPbk2ContactUiControl& aControl, |
80 MPbk2ContactUiControl& aControl, |
83 const TPbk2ControlEvent& aEvent ); |
81 const TPbk2ControlEvent& aEvent ); |
84 private: // From MPbk2StoreConfigurationObserver |
|
85 void ConfigurationChanged(); |
|
86 void ConfigurationChangedComplete(); |
|
87 |
82 |
88 private: // Implementation |
83 private: // Implementation |
89 CPbk2FetchDlgPage( |
84 CPbk2FetchDlgPage( |
90 MPbk2FetchDlg& aFetchDlg, |
85 MPbk2FetchDlg& aFetchDlg, |
91 TInt aControlId ); |
86 TInt aControlId ); |
106 MPbk2FetchDlg& iParentDlg; |
101 MPbk2FetchDlg& iParentDlg; |
107 /// Ref: Names list control |
102 /// Ref: Names list control |
108 CPbk2NamesListControl* iControl; |
103 CPbk2NamesListControl* iControl; |
109 /// Ref: Contact view |
104 /// Ref: Contact view |
110 MVPbkContactViewBase* iContactView; |
105 MVPbkContactViewBase* iContactView; |
111 CPbk2StoreConfiguration* iStoreConfiguration; |
|
112 /// Own: Control id |
106 /// Own: Control id |
113 TInt iControlId; |
107 TInt iControlId; |
114 /// Own: Flag indicating is the control ready |
108 /// Own: Flag indicating is the control ready |
115 TBool iIsReady; |
109 TBool iIsReady; |
116 }; |
110 }; |