serviceproviders/sapi_mediamanagement/inc/mgmusicfile.h
changeset 5 989d2f495d90
equal deleted inserted replaced
1:a36b1e19a461 5:989d2f495d90
       
     1 /*
       
     2 * Copyright (c) 2007-2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  This class is responsible for obtaining those parameters
       
    15 *                which are specific to music files   
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef __CMGMUSICFILE_H
       
    21 #define __CMGMUSICFILE_H
       
    22 
       
    23 
       
    24 #include "mgmediaitem.h"
       
    25 
       
    26 class MCLFItem;
       
    27 class CLiwDefaultMap;
       
    28 /**
       
    29  *  This class is responsible for obtaining those parameters
       
    30  *  which are specific to music files
       
    31  *  
       
    32  *  @since Series60 v3.2
       
    33  */
       
    34 NONSHARABLE_CLASS( CMgMusicFile ) : public CMgMediaItem
       
    35     {
       
    36 
       
    37 public:
       
    38 
       
    39     /**
       
    40      * Two-phased constructor.
       
    41      */
       
    42     static CMgMusicFile* NewL();
       
    43     
       
    44     /**
       
    45     * Destructor.
       
    46     */
       
    47     ~CMgMusicFile(){};
       
    48     
       
    49     
       
    50 
       
    51     // from base class CMgMediaItem
       
    52     /**
       
    53      * This is responsible for filling only musicfile 
       
    54      * specific information
       
    55      * @param outputMap Contains the result in the form of 
       
    56      * name-value pairs
       
    57      * @param aClfItem A reference to the list model item to be processed
       
    58      * @return void
       
    59      */
       
    60     void FillInfoL( CLiwDefaultMap *aOutputMap, const MCLFItem& aClfItem );
       
    61 
       
    62     };
       
    63 
       
    64 #endif // __CMGMUSICFILE_H