00001 /* 00002 * ============================================================================= 00003 * Name : SdpRtpmapValue.h 00004 * Part of : SDP Codec 00005 * Interface : SDK API, SDP Codec API 00006 * Description : 00007 * Version : 1.0 00008 * 00009 * Copyright (c) 2003 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. All rights are reserved. Copying, 00013 * including reproducing, storing, adapting or translating, any 00014 * or all of this material requires the prior written consent of 00015 * Nokia Corporation. This material also contains confidential 00016 * information which may not be disclosed to others without the 00017 * prior written consent of Nokia Corporation. 00018 * ============================================================================= 00019 */ 00020 00021 #ifndef TSDPRTPMAPVALUE_H 00022 #define TSDPRTPMAPVALUE_H 00023 00024 // INCLUDES 00025 #include <e32std.h> 00026 #include <stringpool.h> 00027 #include "_sdpdefs.h" 00028 00029 // FORWARD DECLARATIONS 00030 class RWriteStream; 00031 00032 // CLASS DECLARATION 00046 class TSdpRtpmapValue 00047 { 00048 public: // Constructors and destructor 00049 00061 IMPORT_C TSdpRtpmapValue( 00062 const TPtrC8& aEncodingName, 00063 const TPtrC8& aClockrate, 00064 const TPtrC8& aEncodingParameters ); 00065 00066 public: // New functions 00067 00079 IMPORT_C static TSdpRtpmapValue DecodeL( const TDesC8& aText ); 00080 00091 IMPORT_C HBufC8* EncodeL() const; 00092 00093 public: // Data 00094 00096 TPtrC8 iEncName; 00097 00099 TPtrC8 iClockrate; 00100 00102 TPtrC8 iEncParams; 00103 }; 00104 00105 // TSDPRTPMAPVALUE_H 00106 #endif