equal
deleted
inserted
replaced
25 #include <coecobs.h> |
25 #include <coecobs.h> |
26 #include <coecntrl.h> |
26 #include <coecntrl.h> |
27 #include <AknsUtils.h> |
27 #include <AknsUtils.h> |
28 #include <gulicon.h> |
28 #include <gulicon.h> |
29 #include <eiklbo.h> // MEikListBoxObserver |
29 #include <eiklbo.h> // MEikListBoxObserver |
|
30 #include <aknsfld.h> // MAdaptiveSearchTextObserver |
30 |
31 |
31 // FORWARD DECLARATIONS |
32 // FORWARD DECLARATIONS |
32 class CWmPlugin; |
33 class CWmPlugin; |
33 class CWmListBox; |
34 class CWmListBox; |
34 class CAknsBasicBackgroundControlContext; |
35 class CAknsBasicBackgroundControlContext; |
45 * Container class for WmMainContainer |
46 * Container class for WmMainContainer |
46 * |
47 * |
47 * @class CWmMainContainer WmMainContainer.h |
48 * @class CWmMainContainer WmMainContainer.h |
48 */ |
49 */ |
49 NONSHARABLE_CLASS( CWmMainContainer ) : public CCoeControl, |
50 NONSHARABLE_CLASS( CWmMainContainer ) : public CCoeControl, |
50 public MEikListBoxObserver |
51 public MEikListBoxObserver, |
|
52 public MAdaptiveSearchTextObserver |
51 { |
53 { |
52 public: // constructors and destructor |
54 public: // constructors and destructor |
53 |
55 |
54 /* |
56 /* |
55 * Two-phased constructor. |
57 * Two-phased constructor. |
299 */ |
301 */ |
300 void HandleListBoxEventL( |
302 void HandleListBoxEventL( |
301 CEikListBox* aListBox, |
303 CEikListBox* aListBox, |
302 TListBoxEvent aEventType); |
304 TListBoxEvent aEventType); |
303 |
305 |
|
306 private: // from MAdaptiveSearchTextObserver |
|
307 /** |
|
308 * Adaptive search observer interface. |
|
309 * |
|
310 * @see MAdaptiveSearchTextObserver::AdaptiveSearchTextChanged |
|
311 */ |
|
312 void AdaptiveSearchTextChanged( CAknSearchField* aSearchField ); |
|
313 |
304 private: // New functions |
314 private: // New functions |
305 |
315 |
306 void AddControlL( CCoeControl* aControl, TInt aControlId ); |
316 void AddControlL( CCoeControl* aControl, TInt aControlId ); |
307 void InitializeControlsL( const TRect& aRect ); |
317 void InitializeControlsL( const TRect& aRect ); |
308 void LayoutControls(); |
318 void LayoutControls(); |