photosgallery/viewframework/commandhandlers/commoncommandhandlers/inc/glxcommandhandleraiwedit.h
changeset 3 9a9c174934f5
parent 0 4e91876724a2
child 4 57d388cc48c1
--- a/photosgallery/viewframework/commandhandlers/commoncommandhandlers/inc/glxcommandhandleraiwedit.h	Mon Jan 18 20:19:20 2010 +0200
+++ b/photosgallery/viewframework/commandhandlers/commoncommandhandlers/inc/glxcommandhandleraiwedit.h	Tue Jan 26 11:58:28 2010 +0200
@@ -45,13 +45,15 @@
      * @param aMediaListProvider object that provides the media list
      * @param aMenuResource The menu resource that the AIW command will be 
      *          implented in
+     * @param aCommandSingleClick Flag to identify single click command
      * @return Fully constructed command handler
      * @warning ConstructL of base class is called. If ConstructL is 
      *          implemented in this class, then care must be taken to call 
      *          CGlxCommandHandlerAiwBase::ConstructL
      */
 	IMPORT_C static CGlxCommandHandlerAiwEdit* NewL(
-	    MGlxMediaListProvider* aMediaListProvider, TInt aMenuResource);
+	    MGlxMediaListProvider* aMediaListProvider, TInt aMenuResource,
+	    TBool aCommandSingleClick=EFalse);
 	    
 protected: // From CGlxMediaListCommandHandler
 	/**
@@ -74,6 +76,15 @@
      */
     CGlxCommandHandlerAiwEdit(MGlxMediaListProvider* aMediaListProvider, 
             TInt aMenuResource);
+    
+    /** 
+     * Second phase constructor
+     * @param aCommandSingleClick Flag to identify single click command
+     */
+    void ConstructL(TBool aCommandSingleClick);
+    
+private:
+    TBool iCommandSingleClick;
     };
 
 #endif // C_GLXCOMMANDHANDLERAIWEDIT_H