Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

PayloadMap.h

Go to the documentation of this file.
00001 /* Copyright (C) 2002 Carsten Griwodz 00002 * 00003 * You are allowed to use all other parts of the code under the following terms: 00004 * 00005 * For non-commercial use, this code may be used in unmodified form 00006 * provided that this copyright notice and this permission notice appear 00007 * in supporting documentation. 00008 * 00009 * The code may be made subject to the terms of the GNU General Public 00010 * License, Version 2, and re-distributed under the terms of this license. 00011 * 00012 * Commercial use other than under the terms of the GNU General Public 00013 * License is allowed only after negotiation of conditions with the authors. 00014 */ 00015 #ifndef PAYLOAD_MAP_H 00016 #define PAYLOAD_MAP_H 00017 00018 #include "MNString.h" 00019 #include "sdp/PayloadTypes.h" 00020 #include "dictionary.h" 00021 00022 namespace SDP 00023 { 00024 00025 class PayloadMap 00026 { 00027 public: 00030 static SDP::PayloadTypes get( const char* name ); 00031 00034 static size_t default_rate_from_pt( SDP::PayloadTypes pt ); 00035 00038 static const char* get_name( SDP::PayloadTypes pt, size_t rate ); 00039 }; 00040 00041 }; // namespace SDP 00042 00043 #endif /* PAYLOAD_MAP_H */ 00044

Generated on Sun Mar 6 13:35:49 2005 for Komssys by doxygen 1.3.8