photosgallery/viewframework/views/cloudview/inc/glxcloudviewimp.h
branchRCL_3
changeset 9 6b87b143d312
parent 0 4e91876724a2
child 14 ce1c7ad1f18b
--- a/photosgallery/viewframework/views/cloudview/inc/glxcloudviewimp.h	Tue Feb 02 10:12:14 2010 +0200
+++ b/photosgallery/viewframework/views/cloudview/inc/glxcloudviewimp.h	Fri Feb 19 22:51:01 2010 +0200
@@ -31,6 +31,8 @@
 #include "glxcloudview.h"  //base class
 #include "mglxcloudviewlayoutobserver.h"
 
+#include "glxtagscontextmenucontrol.h"  // MGlxItemMenuObserver
+
 // FORWARD DECLARATIONS
 class CGlxCloudViewControl;
 
@@ -50,7 +52,8 @@
 NONSHARABLE_CLASS(CGlxCloudViewImp): public CGlxCloudView,
 									public MGlxCloudViewMskObserver,				
 									public MGlxEnterKeyEventObserver,
-									public MGlxCloudViewLayoutObserver		
+									public MGlxCloudViewLayoutObserver,
+									public MGlxItemMenuObserver
 	{
 public:
 
@@ -109,6 +112,21 @@
      * Called when layout is changed
      */
 	void HandleLayoutChanged();
+public:
+	//MGlxItemMenuObserver
+	/**
+	 * To Handle menu items in Grid layout
+	 * @param aCommand command to be handled
+	 */
+	void HandleGridMenuListL(TInt aCommand);
+	
+public:
+   /**
+     * Derived classes should use this to initialize the menus if required
+     * @param aResourceId The menu resource
+     * @param aMenuPane The menu pane to edit
+     */
+    void ViewDynInitMenuPaneL(TInt aResourceId, CEikMenuPane *aMenuPane);
 
 protected:
 	// From CGlxViewBase