multimediacommscontroller/tsrc/componenttests/inc/test_async_features.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2006 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:    
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CTEST_ASYNCFEATURES_H
       
    21 #define CTEST_ASYNCFEATURES_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <e32base.h>
       
    25 #include <e32cmn.h>
       
    26 #include <e32cons.h>
       
    27 #include "mmccinterfacedef.h"
       
    28 #include "mmccnetworksettings.h"
       
    29 #include "mccteststubs.h"
       
    30 
       
    31 
       
    32 // FORWARD DECLARATIONS
       
    33 class CMccInterface;
       
    34 class CMccCodecInformation;
       
    35 
       
    36 // CLASS
       
    37 class CTestAsyncFeat
       
    38     {
       
    39     public:
       
    40         static CTestAsyncFeat* NewL( CConsoleBase& aConsole,
       
    41             const TMccNetSettings& aNetsettings, CMccInterface& aIF,
       
    42             CMccInterfaceStub& aIFStub );
       
    43         virtual ~CTestAsyncFeat();
       
    44     
       
    45     public:
       
    46         void DoRunAsyncFeatureTestsL();
       
    47     
       
    48     private:
       
    49         CTestAsyncFeat( CConsoleBase& aConsole,
       
    50             const TMccNetSettings& aNetsettings, CMccInterface& aIF,
       
    51             CMccInterfaceStub& aIFStub );
       
    52     
       
    53         void ConstructL();
       
    54         
       
    55     private:
       
    56         void TestMediaQualityRequestL();
       
    57         CMccCodecInformation* FetchCodecByMimeSubtypeNameL( 
       
    58             const CMccInterface& aInterface, const TDesC8& aName ) const;
       
    59     
       
    60     private:
       
    61         CMccInterface& iInterface;
       
    62         CConsoleBase& iConsole;
       
    63         TMccNetSettings iNetsettings;
       
    64         CMccInterfaceStub& iIfStub;
       
    65         TUint32 iSessionId;
       
    66         TUint32 iStreamId1;
       
    67         TUint32 iStreamId2;
       
    68         TUint32 iLinkId;
       
    69         TUint32 iAudioSinkId;
       
    70         TUint32 iRtpSourceId;
       
    71         TUint32 iRtpSinkId;
       
    72         TUint32 iAudioSourceId;
       
    73         CMccCodecInformation* iCodec;
       
    74         TMccMediaQualityConfig iConfig;
       
    75     };
       
    76 
       
    77 
       
    78 #endif //CTEST_ASYNCFEATURES_H
       
    79 
       
    80 // End of File
       
    81