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

RTSPMsgOptions.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 RTSP_MSG_OPTIONS_H 00016 #define RTSP_MSG_OPTIONS_H 00017 00018 #include "RTSPMsg.h" 00019 00020 namespace RTSP 00021 { 00022 00023 /*--------------------------------------------------------------------* 00024 * Options 00025 *--------------------------------------------------------------------*/ 00026 00030 class Options : public Msg 00031 { 00032 MNString _uri; 00033 int _cseq; 00034 bool _has_uri; 00035 bool _has_user_agent; 00036 MNString _user_agent; 00037 public: 00038 Options( const MNString& uri, int cseq ); 00039 Options( int cseq ); 00040 00041 void setUserAgent( const MNString& agent ); 00042 00043 virtual MNString toString( ) const; 00044 }; 00045 00046 }; // namespace RTSP 00047 00048 #endif /* RTSP_MSG_OPTIONS_H */ 00049

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