diff -r b8fae6b8a148 -r d05a55b217df idlehomescreen/xmluicontroller/src/appui.cpp --- a/idlehomescreen/xmluicontroller/src/appui.cpp Wed Mar 31 21:17:19 2010 +0300 +++ b/idlehomescreen/xmluicontroller/src/appui.cpp Wed Apr 14 15:47:59 2010 +0300 @@ -27,6 +27,7 @@ #include #include #include +#include // User includes #include @@ -642,4 +643,30 @@ sp->DrawNow(); } +// ----------------------------------------------------------------------------- +// CAppUi::HelpContextL +// Returns the help context +// ----------------------------------------------------------------------------- +// +CArrayFix* CAppUi::HelpContextL() const + { + TUid fwUid = TUid::Uid( AI_UID3_AIFW_COMMON ); + TCoeContextName helpString; + if( iUiCtl.UiEngineL()->IsEditMode()) + { + helpString.Copy( KSET_HLP_HOME_SCREEN_EDIT ); + } + else + { + helpString.Copy( KSET_HLP_HOME_SCREEN ); + } + + CArrayFixFlat* array = + new( ELeave ) CArrayFixFlat( 1 ); + CleanupStack::PushL( array ); + array->AppendL( TCoeHelpContext( fwUid, helpString ) ); + CleanupStack::Pop( array ); + return array; + } + // End of File.