equal
deleted
inserted
replaced
27 #include "rtpapi.h" |
27 #include "rtpapi.h" |
28 #include "rtpdef.h" |
28 #include "rtpdef.h" |
29 #include "mmccinterfacedef.h" |
29 #include "mmccinterfacedef.h" |
30 #include "mccinternaldef.h" |
30 #include "mccinternaldef.h" |
31 |
31 |
|
32 #include <CMSRP.h> |
|
33 |
32 // CONSTANTS |
34 // CONSTANTS |
33 |
35 |
34 // MACROS |
36 // MACROS |
35 |
37 |
36 // DATA TYPES |
38 // DATA TYPES |
608 IMPORT_C void GetParameterL( TUint32 aParam, |
610 IMPORT_C void GetParameterL( TUint32 aParam, |
609 TUint32 aLinkId, |
611 TUint32 aLinkId, |
610 TUint32 aStreamId, |
612 TUint32 aStreamId, |
611 TUint32 aEndpointId, |
613 TUint32 aEndpointId, |
612 TDesC8& aVal ); |
614 TDesC8& aVal ); |
|
615 |
|
616 |
|
617 /** |
|
618 * Initializes link |
|
619 * @since Series 60 3.0 |
|
620 * @param [input/output] aStatus Status of the request |
|
621 * @param [input] aLinkId ID of the link |
|
622 * @param [input] aIapId IAP ID |
|
623 * @return void |
|
624 */ |
|
625 IMPORT_C void InitializeLinkL( TRequestStatus& aStatus, |
|
626 TUint32 aLinkId, |
|
627 TInt aIapId, |
|
628 HBufC8* &aLocalMsrpPath); |
|
629 |
|
630 /** |
|
631 * Sets the remote msrp path for aStream |
|
632 * @since Series 60 3.0 |
|
633 * @param [input] aRemAddr Denotes the remote msrp path address |
|
634 * @param [input] aLinkId Link location in the array |
|
635 * @leave System wide error code if unsuccessful |
|
636 * @return None |
|
637 */ |
|
638 IMPORT_C void SetRemoteMsrpPathL( TDes8& aRemMsrpPath, TDes8& aConnStatus, |
|
639 TUint32 aLinkId ); |
|
640 |
613 |
641 |
614 public: // From MMccEventHandler |
642 public: // From MMccEventHandler |
615 |
643 |
616 virtual TInt SendMccEventToClient( TMccEvent& aEvent ); |
644 virtual TInt SendMccEventToClient( TMccEvent& aEvent ); |
617 |
645 |
620 virtual void ErrorOccured( TInt aError, |
648 virtual void ErrorOccured( TInt aError, |
621 TUint32 aSessionId, |
649 TUint32 aSessionId, |
622 TUint32 aLinkId, |
650 TUint32 aLinkId, |
623 TUint32 aStreamId, |
651 TUint32 aStreamId, |
624 TUint32 aEndpointId ); |
652 TUint32 aEndpointId ); |
|
653 virtual void SetFileShareAttrbs(HBufC16* aFileName, TInt aFileSize, |
|
654 HBufC8* aFileType, TBool aFTProgressNotification); |
625 |
655 |
626 protected: // New functions |
656 protected: // New functions |
627 |
657 |
628 |
658 |
629 protected: // Functions from base classes |
659 protected: // Functions from base classes |
666 |
696 |
667 private: // Data |
697 private: // Data |
668 |
698 |
669 // array for storing ul & dl client pointers to streams |
699 // array for storing ul & dl client pointers to streams |
670 RPointerArray<CMccSubThreadClientBase> iClientArray; |
700 RPointerArray<CMccSubThreadClientBase> iClientArray; |
671 |
701 |
|
702 TBool iIsMsrpSessionCreated; |
|
703 |
|
704 TInt iLinkCount; |
|
705 |
672 // member variable for storing session id |
706 // member variable for storing session id |
673 TUint32 iSessionId; |
707 TUint32 iSessionId; |
674 |
708 |
675 // Variable for storing event error code |
709 // Variable for storing event error code |
676 TInt iErrorCode; |
710 TInt iErrorCode; |
687 // Resources |
721 // Resources |
688 MMccResources* iMccResources; |
722 MMccResources* iMccResources; |
689 |
723 |
690 // Rtp media clock |
724 // Rtp media clock |
691 CMccRtpMediaClock* iRtpMediaClock; |
725 CMccRtpMediaClock* iRtpMediaClock; |
|
726 HBufC16* iFileName; |
|
727 TInt iFileSize; |
|
728 HBufC8* iFileType; |
|
729 TBool iFileShare; |
|
730 TBool iFTProgressNotification; |
|
731 CMSRP* iMSRP; |
692 |
732 |
693 public: // Friend classes |
733 public: // Friend classes |
694 |
734 |
695 protected: // Friend classes |
735 protected: // Friend classes |
696 |
736 |