22 #include "glxmonthlistviewplugin.h" |
22 #include "glxmonthlistviewplugin.h" |
23 |
23 |
24 #include <glxcommandhandlerhelp.h> |
24 #include <glxcommandhandlerhelp.h> |
25 #include <glxcommandhandlerslideshow.h> |
25 #include <glxcommandhandlerslideshow.h> |
26 #include <glxlistview.h> |
26 #include <glxlistview.h> |
27 |
27 #include <glxresourceutilities.h> |
28 #include <glxlistviewplugin.rsg> |
28 #include <glxlistviewplugin.rsg> |
29 |
29 |
30 |
30 |
31 #include "glxlistviewplugin.hrh" |
31 #include "glxlistviewplugin.hrh" |
32 |
32 |
88 // --------------------------------------------------------------------------- |
88 // --------------------------------------------------------------------------- |
89 // From CGlxListViewPluginBase |
89 // From CGlxListViewPluginBase |
90 // --------------------------------------------------------------------------- |
90 // --------------------------------------------------------------------------- |
91 // |
91 // |
92 void CGlxMonthListViewPlugin::AddCommandHandlersL() |
92 void CGlxMonthListViewPlugin::AddCommandHandlersL() |
93 { |
93 { |
94 CGlxListViewPluginBase::AddCommandHandlersL(); |
94 CGlxListViewPluginBase::AddCommandHandlersL(); |
95 |
95 // set up help context info |
96 // set up help context info |
96 TGlxHelpContext helpInfo; |
97 TGlxHelpContext helpInfo; |
97 helpInfo.iBrowseContext = LGAL_HLP_MONTH_LIST; |
98 helpInfo.iBrowseContext = LGAL_HLP_MONTH_LIST; |
98 TFileName uiutilitiesrscfile; |
99 |
99 uiutilitiesrscfile.Append( |
100 iListView->AddCommandHandlerL(CGlxCommandHandlerSlideshow::NewL( iListView, EFalse, ETrue ) ); |
100 CGlxResourceUtilities::GetUiUtilitiesResourceFilenameL()); |
101 iListView->AddCommandHandlerL(CGlxCommandHandlerHelp::NewL(helpInfo)); |
101 iListView->AddCommandHandlerL(CGlxCommandHandlerSlideshow::NewL(iListView, |
102 } |
102 EFalse, ETrue, uiutilitiesrscfile)); |
|
103 iListView->AddCommandHandlerL(CGlxCommandHandlerHelp::NewL(helpInfo)); |
|
104 } |
103 |
105 |
104 // End of File |
106 // End of File |