javauis/mmapi_qt/audiostreaming/inc.mmf/CMMAAudioStreamPlayerFactory.h
branchRCL_3
changeset 18 9ac0a0a7da70
parent 17 0fd27995241b
child 19 71c436fe3ce0
equal deleted inserted replaced
17:0fd27995241b 18:9ac0a0a7da70
     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 stream player.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CMMAAUDIOSTREAMPLAYERFACTORY_H
       
    20 #define CMMAAUDIOSTREAMPLAYERFACTORY_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include "CMMAMMFPlayerFactory.h"
       
    24 
       
    25 //  CLASS DECLARATION
       
    26 /**
       
    27 *   This class is used for creating stream player.
       
    28 *
       
    29 *
       
    30 */
       
    31 NONSHARABLE_CLASS(CMMAAudioStreamPlayerFactory): public CMMAMMFPlayerFactory
       
    32 {
       
    33 public: // Constructor and destructor
       
    34     static CMMAAudioStreamPlayerFactory* NewLC();
       
    35     ~CMMAAudioStreamPlayerFactory();
       
    36 
       
    37 private: // Constructor
       
    38     CMMAAudioStreamPlayerFactory();
       
    39 
       
    40 public: // From CMMAMMFPlayerFactory
       
    41     CMMAPlayer* CreatePlayerL(const TDesC& /*aContentType*/);
       
    42     CMMAPlayer* CreatePlayerL(const TDesC8& /*aHeaderData*/);
       
    43     CMMAPlayer* CreatePlayerL(const TDesC& aProtocol,
       
    44                               const TDesC& aMiddlePart,
       
    45                               const TDesC& aParameters);
       
    46     CMMAPlayer* CreatePlayerL(
       
    47         CMMAMMFResolver* aResolver);
       
    48     void GetSupportedContentTypesL(const TDesC& aProtocol,
       
    49                                    CDesC16Array& aMimeTypeArray);
       
    50     void MediaIdsL(RArray<TUid>& aMediaIds);
       
    51 
       
    52 
       
    53 
       
    54 };
       
    55 
       
    56 #endif // CMMAAUDIOSTREAMPLAYERFACTORY_H