videocollection/hgmyvideos/inc/vcxhgmyvideosvideolistimpl.h
branchRCL_3
changeset 14 8970fbd719ec
parent 11 5294c000a26d
child 23 8f0df5c82986
equal deleted inserted replaced
13:112a725ff2c2 14:8970fbd719ec
   186          * @param aMarkCommand Mark command.
   186          * @param aMarkCommand Mark command.
   187          */
   187          */
   188         void HandleMarkCommandL( TInt aMarkCommand );
   188         void HandleMarkCommandL( TInt aMarkCommand );
   189         
   189         
   190         /**
   190         /**
   191          * Checks the UI and list status, and returns information to show correct
       
   192          * move and copy -menu items.
       
   193          * 
       
   194          * @param aShowMoveAndCopySubmenu On return, ETrue if move/copy sub-menu cab be shown.
       
   195          * @param aShowCopy On return, ETrue if copy menu item can be shown.
       
   196          * @param aShowMove On return, ETrue if move menu item can be shown.
       
   197          */
       
   198         void ShowMoveAndCopyMenuItemsL( 
       
   199                  TBool& aShowMoveAndCopySubmenu, TBool& aShowCopy, TBool& aShowMove );
       
   200         
       
   201         /**
       
   202          * Handles move and copy commands to list.
   191          * Handles move and copy commands to list.
   203          * 
   192          * 
   204          * @param aCopy ETrue if copy command was given. EFalse if move.
   193          * @param aCopy ETrue if copy command was given. EFalse if move.
   205          */
   194          */
   206         void HandleMoveOrCopyCommandL( TBool aCopy );
   195         void HandleMoveOrCopyCommandL( TBool aCopy );
   221          * Handles dynamic initialisation of menu items specific to video list.
   210          * Handles dynamic initialisation of menu items specific to video list.
   222          * 
   211          * 
   223          * @param aResourceId Resource ID of menu to be activated.
   212          * @param aResourceId Resource ID of menu to be activated.
   224          * @param aMenuPane Pointer to menu pane.
   213          * @param aMenuPane Pointer to menu pane.
   225          */
   214          */
   226         void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane );        
   215         void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane );
   227         
   216         
   228         /**
   217         /**
   229          * Returns correct MSK resource Id based on current state of video list.
   218          * Returns correct MSK resource Id based on current state of video list.
   230          *
   219          *
   231          * @return MSK resource Id.
   220          * @return MSK resource Id.
   406          * @param operationTargetIds OUT: Mpx ids of the target items
   395          * @param operationTargetIds OUT: Mpx ids of the target items
   407          */
   396          */
   408         void OperationTargetsToMpxIdsL( RArray<TInt>& operationTargetIndexes,  
   397         void OperationTargetsToMpxIdsL( RArray<TInt>& operationTargetIndexes,  
   409                                         RArray<TInt>& operationTargetIds );
   398                                         RArray<TInt>& operationTargetIds );
   410 
   399 
       
   400         /**
       
   401          * Add "Send" menu item to menus
       
   402          *
       
   403          * @param aMenuPane Add the menu item to this menu pane
       
   404          * @param aAddToOptions If true, also add to Options menu. If false, only add to context menu.
       
   405          */
       
   406         void AddSendItemToMenuPaneL(
       
   407                 CEikMenuPane* aMenuPane,
       
   408                 TBool aAddToOptions );
       
   409 
       
   410         /**
       
   411          * Handles dynamic initialisation of Move, Copy and Delete menu items
       
   412          *
       
   413          * @param aMenuPane Pointer to menu pane.
       
   414          * @param aItemsMarked If true, also add to Options menu. If false, only add to context menu.
       
   415          */
       
   416         void DynInitMenuPaneFileOperationsL(
       
   417                 CEikMenuPane* aMenuPane,
       
   418                 TBool aItemsMarked );
       
   419 
   411     protected:
   420     protected:
   412     
   421     
   413         /**
   422         /**
   414          * Video model handler.
   423          * Video model handler.
   415          * Own.
   424          * Own.