multimediacommscontroller/mmccsubcontroller/inc/mccsubthreadclientbase.h
branchrcs
changeset 49 64c62431ac08
parent 0 1bce908db942
equal deleted inserted replaced
44:fb024d5e35fa 49:64c62431ac08
    22 #define MCCSUBTHREADCLIENTBASE_H
    22 #define MCCSUBTHREADCLIENTBASE_H
    23 
    23 
    24 //  INCLUDES
    24 //  INCLUDES
    25 #include <e32base.h>
    25 #include <e32base.h>
    26 #include "mccinternalcodecs.h"
    26 #include "mccinternalcodecs.h"
       
    27 #include <CMSRP.h>
    27 
    28 
    28 // CONSTANTS
    29 // CONSTANTS
    29 
    30 
    30 // FORWARD DECLARATIONS
    31 // FORWARD DECLARATIONS
    31 class MDataSource;
    32 class MDataSource;
    32 class MDataSink;
    33 class MDataSink;
    33 class MMccEventHandler;
    34 class MMccEventHandler;
    34 class TMccEvent;
    35 class TMccEvent;
    35 class CMccRtpManager;
    36 class CMccRtpManager;
       
    37 class CMccMsrpManager;
    36 class MMccResources;
    38 class MMccResources;
    37 class CMccRtpMediaClock;
    39 class CMccRtpMediaClock;
    38 class TMccCreateLink;
    40 class TMccCreateLink;
    39 class CMccSymStreamBase;
    41 class CMccSymStreamBase;
    40 class TMccCryptoContext;
    42 class TMccCryptoContext;
   447          * @param aEndpointId The endpoint id
   449          * @param aEndpointId The endpoint id
   448          * @return void
   450          * @return void
   449          */	
   451          */	
   450         virtual void RemoveContextL( TUint32 aStreamId, 
   452         virtual void RemoveContextL( TUint32 aStreamId, 
   451                                      TUint32 aEndpointId ) = 0;
   453                                      TUint32 aEndpointId ) = 0;
       
   454         
       
   455         
       
   456         /**
       
   457         * 1st step to create link asynchronously - MSRP
       
   458         * @since Series 60 3.0
       
   459         * @param [input/output] aStatus
       
   460         * @param [input] aIapId
       
   461         * @return void
       
   462         */
       
   463         virtual void InitializeLinkL( TRequestStatus& aStatus,
       
   464                                       TInt aIapId,
       
   465                                       HBufC8* &aLocalMsrpPath);
       
   466 
       
   467 
       
   468         /**
       
   469         * Gets the codec info of the subthread client
       
   470         * @since Series 60 3.0
       
   471         * @param [output] aCodec The codec info reference where to write
       
   472         * @return void
       
   473         */
       
   474         virtual void GetCodecL( const TUint32 aStreamId, TMccCodecInfo& aCodec );
       
   475         
       
   476         /**
       
   477         * Sets the remote msrp path                    
       
   478         * @since Series 60 3.0
       
   479         * @param [input] aRemMsrpPath Contains the remote msrp path
       
   480         * @return void
       
   481         */
       
   482         virtual void SetRemoteMsrpPathL( TDes8& aRemMsrpPath, TDes8& aConnStatus );
       
   483         
       
   484         virtual void SetFileSharingAttrbs(HBufC16* aFileName, TInt aFileSize, 
       
   485                 HBufC8* aFileType, TBool aFTProgressNotification) =0;
       
   486         
       
   487         void SetMsrpObject(CMSRP* aMsrpObject);
       
   488         
       
   489         CMccMsrpManager* iMsrpmanager;
       
   490         
       
   491         TInt GetLinkType();
   452                                                         
   492                                                         
   453     protected:  // Constructor
   493     protected:  // Constructor
   454 
   494 
   455         /**
   495         /**
   456         * C++ constructor
   496         * C++ constructor
   494         MMccResources* iMccResources;
   534         MMccResources* iMccResources;
   495 
   535 
   496         // Priority settings
   536         // Priority settings
   497         TMMFPrioritySettings iPrioritySettings;
   537         TMMFPrioritySettings iPrioritySettings;
   498         
   538         
       
   539         // Codec information struct
       
   540         TMccCodecInfo iCodecInfo;
       
   541         
   499         // Flag for session creation
   542         // Flag for session creation
   500         TBool iSessionCreated;
   543         TBool iSessionCreated;
   501         
   544         
   502         //Flag dtmf
   545         //Flag dtmf
   503         TBool iIsDTMF;
   546         TBool iIsDTMF;
   508         TInt iLinkType;
   551         TInt iLinkType;
   509     
   552     
   510         // Id of this link
   553         // Id of this link
   511         TUint32 iLinkId;
   554         TUint32 iLinkId;
   512         
   555         
       
   556         // Local MSRP Path
       
   557         TBuf8<256> iLocalMsrpPath;
       
   558         
   513         // Streams owned by the link
   559         // Streams owned by the link
   514         RPointerArray<CMccSymStreamBase> iStreams;
   560         RPointerArray<CMccSymStreamBase> iStreams;
   515 
   561 
   516         // MCC session id
   562         // MCC session id
   517         TUint32 iSessionId;
   563         TUint32 iSessionId;