photosgallery/viewframework/commandhandlers/commoncommandhandlers/inc/glxcommandhandleraddtocontainer.h
changeset 3 9a9c174934f5
parent 2 7d9067c6fcb1
child 9 6b87b143d312
equal deleted inserted replaced
2:7d9067c6fcb1 3:9a9c174934f5
    42 	 * @param aMediaListProvider object that provides the media list.
    42 	 * @param aMediaListProvider object that provides the media list.
    43 	 */
    43 	 */
    44     IMPORT_C static CGlxCommandHandlerAddToContainer* NewAddToAlbumCommandHandlerL(
    44     IMPORT_C static CGlxCommandHandlerAddToContainer* NewAddToAlbumCommandHandlerL(
    45         MGlxMediaListProvider* aMediaListProvider, TBool aHasToolbarItem);
    45         MGlxMediaListProvider* aMediaListProvider, TBool aHasToolbarItem);
    46 
    46 
       
    47 	/** 
       
    48 	 * Create add to album command handler for singleclick
       
    49 	 * @param aMediaListProvider object that provides the media list.
       
    50 	 */
       
    51     IMPORT_C static CGlxCommandHandlerAddToContainer* NewAddToAlbumSingleClickCommandHandlerL(
       
    52             MGlxMediaListProvider* aMediaListProvider, TBool aHasToolbarItem);
       
    53 
    47      /** 
    54      /** 
    48      * Create add (to) tags command handler 
    55      * Create add (to) tags command handler 
    49      * @param aMediaListProvider object that provides the media list.
    56      * @param aMediaListProvider object that provides the media list.
    50      */
    57      */
    51     IMPORT_C static CGlxCommandHandlerAddToContainer* NewAddToTagCommandHandlerL(
    58     IMPORT_C static CGlxCommandHandlerAddToContainer* NewAddToTagCommandHandlerL(
    52         MGlxMediaListProvider* aMediaListProvider, TBool aHasToolbarItem);
    59         MGlxMediaListProvider* aMediaListProvider, TBool aHasToolbarItem);
       
    60 
       
    61      /** 
       
    62      * Create add (to) tags command handler for singleclick
       
    63      * @param aMediaListProvider object that provides the media list.
       
    64      */
       
    65     IMPORT_C static CGlxCommandHandlerAddToContainer* NewAddToTagSingleClickCommandHandlerL(
       
    66             MGlxMediaListProvider* aMediaListProvider, TBool aHasToolbarItem);
    53 
    67 
    54     /** 
    68     /** 
    55     * Create add (to) Favourites command handler 
    69     * Create add (to) Favourites command handler 
    56     * @param aMediaListProvider object that provides the media list.
    70     * @param aMediaListProvider object that provides the media list.
    57     */
    71     */
    88 
   102 
    89     /** See @ref CGlxCommandHandler::DoActivateL */
   103     /** See @ref CGlxCommandHandler::DoActivateL */
    90     void DoActivateL(TInt aViewId);
   104     void DoActivateL(TInt aViewId);
    91 
   105 
    92     /** See @ref CGlxCommandHandler::PopulateToolbar*/
   106     /** See @ref CGlxCommandHandler::PopulateToolbar*/
    93 	void PopulateToolbarL();   
   107 	void PopulateToolbarL();  
    94 
   108 	
       
   109 	/** See @ref CGlxCommandHandler::DoIsDisabled*/ 
       
   110 	TBool DoIsDisabled(TInt aCommandId, MGlxMediaList& aList) const;
    95 private:
   111 private:
    96 	/** 
   112 	/** 
    97 	 * Second phase constructor
   113 	 * Second phase constructor
    98 	 * @param aCommand The command to handle.
   114 	 * @param aCommand The command to handle.
    99 	 */
   115 	 */