javauis/mmapi_qt/baseline/inc/cmmaaudioplayerfactory.h
branchRCL_3
changeset 24 0fd27995241b
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:  This class is used for creating wav player.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CMMAAUDIOPLAYERFACTORY_H
       
    20 #define CMMAAUDIOPLAYERFACTORY_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include "cmmammfplayerfactory.h"
       
    24 
       
    25 //  CLASS DECLARATION
       
    26 /**
       
    27 *   This class is used for creating wav player.
       
    28 *
       
    29 *
       
    30 */
       
    31 
       
    32 NONSHARABLE_CLASS(CMMAAudioPlayerFactory): public CMMAMMFPlayerFactory
       
    33 {
       
    34 public: // Constructor and destructor
       
    35     static CMMAAudioPlayerFactory* NewLC();
       
    36     ~CMMAAudioPlayerFactory();
       
    37 
       
    38 private: // Constructor
       
    39     CMMAAudioPlayerFactory();
       
    40 
       
    41 public: // From CMMAMMFPlayerFactory
       
    42     CMMAPlayer* CreatePlayerL(const TDesC& aContentType);
       
    43     CMMAPlayer* CreatePlayerL(
       
    44         CMMAMMFResolver* aResolver);
       
    45     void GetSupportedContentTypesL(const TDesC& aProtocol,
       
    46                                    CDesC16Array& aMimeTypeArray);
       
    47     void MediaIdsL(RArray<TUid>& aMediaIds);
       
    48 
       
    49 };
       
    50 
       
    51 #endif // CMMAAUDIOPLAYERFACTORY_H