javauis/mmapi_qt/baseline/inc/cmmamidimetadatacontrol.h
branchRCL_3
changeset 24 0fd27995241b
child 48 e0d6e9bd3ca7
equal deleted inserted replaced
20:f9bb0fca356a 24:0fd27995241b
       
     1 /*
       
     2 * Copyright (c) 2002 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 "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:  CMMAMIDIMetaDataControl is a concrete class for getting
       
    15 *                metadata from midi engine.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef CMMAMIDIMETADATACONTROL_H
       
    21 #define CMMAMIDIMETADATACONTROL_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <mmfcontroller.h>
       
    25 
       
    26 #include "cmmamidiplayer.h"
       
    27 #include "cmmametadatacontrol.h"
       
    28 
       
    29 //  CLASS DECLARATION
       
    30 /**
       
    31 *   This is a concrete class for getting metadata from midi engine.
       
    32 *
       
    33 *
       
    34 */
       
    35 
       
    36 NONSHARABLE_CLASS(CMMAMIDIMetaDataControl): public CMMAMetaDataControl
       
    37 {
       
    38 public:
       
    39     CMMAMIDIMetaDataControl(CMMAMIDIPlayer* aPlayer);
       
    40 
       
    41 protected: // from CMMAMetaDataControl
       
    42 
       
    43     TInt KeyCountL();
       
    44     HBufC* KeyL(TInt aIndex);
       
    45 
       
    46     HBufC* KeyValueL(const TDesC& aKey);
       
    47 
       
    48 private:
       
    49     /**
       
    50      * Used to query metadata
       
    51      */
       
    52     CMMAMIDIPlayer* iPlayer;
       
    53 };
       
    54 
       
    55 #endif // CMMAMIDIMETADATACONTROL_H