diff -r f7f0874bfe7d -r 6b87b143d312 photosgallery/viewframework/views/cloudview/src/glxcloudviewimp.cpp --- a/photosgallery/viewframework/views/cloudview/src/glxcloudviewimp.cpp Tue Feb 02 10:12:14 2010 +0200 +++ b/photosgallery/viewframework/views/cloudview/src/glxcloudviewimp.cpp Fri Feb 19 22:51:01 2010 +0200 @@ -41,6 +41,7 @@ #include // For directory paths #include +#include // For resources #include "glxcloudviewcontrol.h"//cloud view control @@ -158,8 +159,8 @@ TBool CGlxCloudViewImp::HandleViewCommandL(TInt aCommand) { TRACER("GLX_CLOUD::CGlxCloudViewImp::HandleViewCommandL"); + TBool consumed = EFalse; - switch (aCommand) { case EAknCmdOpen: @@ -337,9 +338,9 @@ iAnchorlayout->SetFlag(EAlfVisualFlagLayoutUpdateNotification); iAnchorlayout->SetFlag(EAlfVisualFlagAutomaticLocaleMirroringEnabled); - + iCloudControl = CGlxCloudViewControl::NewL (*iDisplay, *iUiUtility->Env (), *iMediaList, - *iEmptyListText, *this,*this,iAnchorlayout,*this); + *iEmptyListText, *this,*this,iAnchorlayout,*this,*this); CAlfControlGroup * ctrlGroup = iUiUtility->Env ()->FindControlGroup(0); if(ctrlGroup) @@ -421,3 +422,25 @@ iAnchorlayout->UpdateChildrenLayout(0); } +// --------------------------------------------------------------------------- +// HandleGridMenuListL() +// --------------------------------------------------------------------------- +// +void CGlxCloudViewImp::HandleGridMenuListL(TInt aCommand) + { + TRACER("GLX_CLOUD::CGlxCloudViewImp::HandleGridMenuListL"); + ProcessCommandL(aCommand); + } + +// ---------------------------------------------------------------------------- +// ViewDynInitMenuPaneL +// ---------------------------------------------------------------------------- +// +void CGlxCloudViewImp::ViewDynInitMenuPaneL(TInt aMenuId, CEikMenuPane* /*aMenuPane*/) + { + TRACER("GLX_CLOUD::CGlxCloudViewImp::ViewDynInitMenuPaneL"); + if( aMenuId == R_TAGSBROWSER_MENU) + { + iCloudControl->ShowContextItemMenu(EFalse); + } + }