serviceproviders/sapi_mediamanagement/inc/mgitemslist.h
changeset 33 50974a8b132e
parent 19 989d2f495d90
equal deleted inserted replaced
32:8d692d9f828f 33:50974a8b132e
    13 *
    13 *
    14 * Description:  Implements CLiwIterable type
    14 * Description:  Implements CLiwIterable type
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
       
    19 #ifndef __CMGITEMSLIST_H
    18 #ifndef __CMGITEMSLIST_H
    20 #define __CMGITEMSLIST_H
    19 #define __CMGITEMSLIST_H
    21 
    20 
    22 #include <liwgenericparam.h> 
    21 #include <liwgenericparam.h> 
    23 #include "mgservice.hrh"
    22 #include "mgservice.hrh"
    24 
    23 
    25 class MCLFItemListModel;
    24 class MCLFItemListModel;
    26 class MgMediaItemFactory;
    25 class MgMediaItemFactory;
    27 class CMgMediaItem;
    26 class CMgMediaItem;
       
    27 class CClfOperationObserver;
       
    28 
    28 /**
    29 /**
    29  *  This class implements the abstract methods of CLiwIterable   
    30  *  This class implements the abstract methods of CLiwIterable   
    30  *  class so that the user may iterate over the result 
    31  *  class so that the user may iterate over the result 
    31  *  
    32  *  
    32  *  @since Series60 v3.2
    33  *  @since Series60 v3.2
    40      * Two-phased constructor.
    41      * Two-phased constructor.
    41      * @param aItemListModel holds a reference to the item list model
    42      * @param aItemListModel holds a reference to the item list model
    42      * @param aCmdId specifies whether the SAPI is GetFiles or GetFilesInfo
    43      * @param aCmdId specifies whether the SAPI is GetFiles or GetFilesInfo
    43      * @return A pointer of type CMgItemsList
    44      * @return A pointer of type CMgItemsList
    44      */
    45      */
    45      static CMgItemsList* NewL( MCLFItemListModel* aItemListModel, TMgCmdId aCmdId );
    46      static CMgItemsList* NewL( MCLFItemListModel* aItemListModel, CClfOperationObserver* aOperationObserver, TMgCmdId aCmdId );
    46     
    47     
    47     /**
    48     /**
    48     * Destructor.
    49     * Destructor.
    49     */
    50     */
    50     ~CMgItemsList();
    51     ~CMgItemsList();
    72      * @since  Series60 v3.2
    73      * @since  Series60 v3.2
    73      * @param  aItemListModel holds a reference to the item list model
    74      * @param  aItemListModel holds a reference to the item list model
    74      * @param  aCmdId specifies whether the SAPI is GetFiles or GetFilesInfo
    75      * @param  aCmdId specifies whether the SAPI is GetFiles or GetFilesInfo
    75      */
    76      */
    76     
    77     
    77     CMgItemsList( MCLFItemListModel* aItemListModel, TMgCmdId aCmdId );
    78     CMgItemsList( MCLFItemListModel* aItemListModel, CClfOperationObserver* aOperationObserver, TMgCmdId aCmdId );
    78     
    79     
    79 private: // data
    80 private: // data
    80 
    81 
    81     /**
    82     /**
    82     * A pointer to MCLFItemListModel class
    83     * A pointer to MCLFItemListModel class
    83     */
    84     */
    84     MCLFItemListModel* iItemListModel;
    85     MCLFItemListModel* iItemListModel;
       
    86     
       
    87     CClfOperationObserver* iOperationObserver;
       
    88         
    85     /**
    89     /**
    86     * Indicates whether GetFiles or GetFilesInfo SAPI is being processed
    90     * Indicates whether GetFiles or GetFilesInfo SAPI is being processed
    87     */
    91     */
    88     TMgCmdId iCmdId;
    92     TMgCmdId iCmdId;
    89     /**
    93     /**