rtp/srtpstack/inc/tsrtpstreamstatebase.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2005 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:    Base class for SRTP stream states
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef TSRTPSTREAMSTATEBASE_H
       
    22 #define TSRTPSTREAMSTATEBASE_H
       
    23 
       
    24 // INCLUDES
       
    25 #include <e32std.h>
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class MSRTPCryptoHandlerContext;
       
    29 class MSRTPCryptoHandlerContextRTP;
       
    30 class MSRTPCryptoHandlerContextRTCP;
       
    31 
       
    32 // CLASS DECLARATION
       
    33 class TSRTPStreamStateBase
       
    34 	{
       
    35 	protected:	// Constructors and destructor
       
    36 
       
    37 		TSRTPStreamStateBase(MSRTPCryptoHandlerContextRTP& aCryptoHandlerRTPContext,
       
    38 		                MSRTPCryptoHandlerContextRTCP& aCryptoHandlerRTCPContext);
       
    39 		
       
    40 	public: // Constructors
       
    41 		/// Default constructor. Not implemented.
       
    42 		TSRTPStreamStateBase();
       
    43 
       
    44 	protected: // Data
       
    45 	    /*
       
    46 	    * interface for this incoming or outgoing stream to 
       
    47 	    * RTP-specific crypto handling operations
       
    48 	    */
       
    49 		MSRTPCryptoHandlerContextRTP& iCryptoHandlerRTPContext;
       
    50 	    /*
       
    51 	    * interface for this incoming or outgoing stream to 
       
    52 	    * RTCP-specific crypto handling operations
       
    53 	    */
       
    54 		MSRTPCryptoHandlerContextRTCP& iCryptoHandlerRTCPContext;		
       
    55 	};
       
    56 
       
    57 #endif // TSRTPStreamStateBase_H