equal
deleted
inserted
replaced
20 #ifndef __CXSPSORTVIEW_H__ |
20 #ifndef __CXSPSORTVIEW_H__ |
21 #define __CXSPSORTVIEW_H__ |
21 #define __CXSPSORTVIEW_H__ |
22 |
22 |
23 // INCLUDES |
23 // INCLUDES |
24 #include <e32base.h> |
24 #include <e32base.h> |
|
25 #include <eiklbo.h> |
25 #include "CxSPBaseView.h" |
26 #include "CxSPBaseView.h" |
26 #include "MGlobalNoteObserver.h" |
27 #include "MGlobalNoteObserver.h" |
27 |
28 |
28 // FORWARD DECLARATIONS |
29 // FORWARD DECLARATIONS |
29 class CPbk2UIExtensionView; |
30 class CPbk2UIExtensionView; |
38 // CLASS DECLARATION |
39 // CLASS DECLARATION |
39 /** |
40 /** |
40 * Sort view for Extension Manager. Provides extension sorting UI |
41 * Sort view for Extension Manager. Provides extension sorting UI |
41 * for user. |
42 * for user. |
42 */ |
43 */ |
43 class CxSPSortView : public CxSPBaseView, public MGlobalNoteObserver |
44 class CxSPSortView : public CxSPBaseView, public MGlobalNoteObserver, public MEikListBoxObserver |
44 { |
45 { |
45 public: // Constructor |
46 public: // Constructor |
46 |
47 |
47 /** |
48 /** |
48 * Creates a new CxSPSortView. |
49 * Creates a new CxSPSortView. |
61 |
62 |
62 public: // From MPbk2UIExtensionView through CxSPBaseView |
63 public: // From MPbk2UIExtensionView through CxSPBaseView |
63 void DoDeactivate(); |
64 void DoDeactivate(); |
64 void HandleCommandL( TInt aCommand ); |
65 void HandleCommandL( TInt aCommand ); |
65 void HandleStatusPaneSizeChange(); |
66 void HandleStatusPaneSizeChange(); |
66 |
67 |
|
68 void HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aEventType); |
|
69 |
67 private: // From CxSPBaseView |
70 private: // From CxSPBaseView |
68 |
71 |
69 void DoActivateViewL( const TVwsViewId& aPrevViewId, |
72 void DoActivateViewL( const TVwsViewId& aPrevViewId, |
70 TUid aCustomMessageId, |
73 TUid aCustomMessageId, |
71 const TDesC8& aCustomMessage ); |
74 const TDesC8& aCustomMessage ); |
95 |
98 |
96 /** |
99 /** |
97 * Standard C++ destructor. |
100 * Standard C++ destructor. |
98 */ |
101 */ |
99 ~CxSPSortView(); |
102 ~CxSPSortView(); |
|
103 |
|
104 private: |
|
105 void UpdateCbasL( TInt aResourceId ); |
100 |
106 |
101 private: // Data |
107 private: // Data |
102 |
108 |
103 /// Ref: View id changer |
109 /// Ref: View id changer |
104 CxSPViewIdChanger& iViewIdChanger; |
110 CxSPViewIdChanger& iViewIdChanger; |