menufw/menufwui/mmwidgets/inc/mmdraganddropobserver.h
branchRCL_3
changeset 19 79311d856354
parent 0 f72a12da539e
equal deleted inserted replaced
18:d05a55b217df 19:79311d856354
    22 /**
    22 /**
    23  *  Used by Multimedia Menu widgets to notify about dragging events.
    23  *  Used by Multimedia Menu widgets to notify about dragging events.
    24  *  Whenever a drag begins HandleDragStartL() is invoked.
    24  *  Whenever a drag begins HandleDragStartL() is invoked.
    25  *  When the highlight changes during drag, HandleDragOverL() is invoked.
    25  *  When the highlight changes during drag, HandleDragOverL() is invoked.
    26  *  When item is dropped, HandleDragStopL() is invoked.
    26  *  When item is dropped, HandleDragStopL() is invoked.
    27  *  The set of the three methods fully notifies the observer about the state 
    27  *  The set of the three methods fully notifies the observer about the state
    28  *  of the drag.
    28  *  of the drag.
    29  *
    29  *
    30  *  @code
    30  *  @code
    31  *  @endcode
    31  *  @endcode
    32  *  @lib mmwidgets
    32  *  @lib mmwidgets
    50      *
    50      *
    51      * @since S60 v5.0
    51      * @since S60 v5.0
    52      * @param aModelItemIndex Index of item that the dragged item hovers over.
    52      * @param aModelItemIndex Index of item that the dragged item hovers over.
    53      */
    53      */
    54     virtual void HandleDragOverL( TInt aModelItemIndex ) = 0;
    54     virtual void HandleDragOverL( TInt aModelItemIndex ) = 0;
    55     
    55 
    56     /**
    56     /**
    57      * Method is invoked on the observer, when the item is dropped.
    57      * Method is invoked on the observer, when the item is dropped.
    58      *
    58      *
    59      * @since S60 v5.0
    59      * @since S60 v5.0
    60      * @param aModelItemIndex Index of item on which the draging stops.
    60      * @param aModelItemIndex Index of item on which the draging stops.
    61      */
    61      */
    62     virtual void HandleDragStopL( TInt aModelItemIndex ) = 0;
    62     virtual void HandleDragStopL( TInt aModelItemIndex ) = 0;
    63     
    63 
    64     /**
    64     /**
    65      * Method is invoked on the observer, when the dragged item index changes.
    65      * Method is invoked on the observer, when the dragged item index changes.
    66      *
    66      *
    67      * @since S60 v5.0
    67      * @since S60 v5.0
    68      * @param aModelItemIndex Index of item on which the draging stops.
    68      * @param aModelItemIndex Index of item on which the draging stops.
    69      */
    69      */
    70     virtual void HandleDraggedIndexUpdatedL( TInt aModelItemIndex ) = 0;
    70     virtual void HandleDraggedIndexUpdatedL( TInt aModelItemIndex ) = 0;
    71     
    71 
       
    72     /**
       
    73      * Method is invoked on the observer, when the move item event is needed.
       
    74      *
       
    75      * @since S60 v5.0
       
    76      * @param aRecipientId Index of item on which the move event invokes.
       
    77      * @param aEventParameters Event parameters.
       
    78      */
       
    79     virtual void HandleTriggerMoveItemL( const TInt aRecipientId,
       
    80                 CLiwGenericParamList* aEventParameters) = 0;
       
    81 
    72     };
    82     };
    73     
    83 
    74 #endif // M_MMDRAGANDDROPOBSERVER_H
    84 #endif // M_MMDRAGANDDROPOBSERVER_H