equal
deleted
inserted
replaced
30 |
30 |
31 protected: |
31 protected: |
32 //only friend class IRViewManager can create this view |
32 //only friend class IRViewManager can create this view |
33 IRMainView(IRApplication *aApplication, TIRViewId aViewId); |
33 IRMainView(IRApplication *aApplication, TIRViewId aViewId); |
34 |
34 |
35 //from base class IRBaseView |
|
36 TIRHandleResult handleCommand(TIRViewCommand aCommand, TIRViewCommandReason aReason); |
|
37 |
|
38 private slots: |
35 private slots: |
39 /* |
36 /* |
40 * Description : slot function for active network event |
37 * Description : slot function for active network event |
41 * Parameters : aEvent, see the definition of IRQNetworkEvent |
38 * Parameters : aEvent, see the definition of IRQNetworkEvent |
42 */ |
39 */ |
51 void setCheckedAction(); |
48 void setCheckedAction(); |
52 |
49 |
53 //from base class IRBaseView |
50 //from base class IRBaseView |
54 void updateView(); |
51 void updateView(); |
55 |
52 |
|
53 void lazyInit(); |
|
54 |
56 private: |
55 private: |
57 IRMainModel *iMainModel; |
56 IRMainModel *iMainModel; |
58 |
57 |
59 enum TUserSelection |
58 enum TUserSelection |
60 { |
59 { |
61 ERecentlyPlayedStations, |
|
62 EBrowseByCountry, |
60 EBrowseByCountry, |
63 EBrowseByLanguage, |
61 EBrowseByLanguage, |
|
62 ERecentlyPlayedStations, |
64 ESongsPlayed, |
63 ESongsPlayed, |
65 EPlayList |
64 EPlayList |
66 }; |
65 }; |
67 |
66 |
68 friend class IRViewManager; |
67 friend class IRViewManager; |