00001 /* Copyright (C) 2000 KOM/Darmstadt University of Technology 00002 * 00003 * You are allowed to use all other parts of the code under the following terms: 00004 * 00005 * For non-commercial use, code may be used in unmodified form provided 00006 * that this copyright notice and this permission notice appear in 00007 * supporting documentation. 00008 * 00009 * This software is provided "as is" and without any express or implied 00010 * warranties, including, without limitation, the implied warranty of 00011 * fitness for a particular purpose. 00012 * 00013 * The code may be subjected to the GNU General Public License, Version 2, 00014 * and re-distributed under the terms of this license. 00015 * As a special exception, permission is granted to link this code 00016 * with the Qt library and distribute executables, as long as you 00017 * follow the requirements of the GNU GPL in regard to all of the 00018 * software in the executable aside from Qt. 00019 * 00020 * Commercial use other than under the terms of the GNU General Public 00021 * License is allowed only after express negotiation of conditions 00022 * with the authors. 00023 */ 00024 #ifndef GMUSER_H 00025 #define GMUSER_H 00026 00027 #include "sdp/PayloadTypes.h" 00028 #include "sdp/PayloadTypeEntry.h" 00029 00030 class ProxyClientWrapper; 00031 00040 class GMUser 00041 { 00042 public: 00043 GMUser( ); 00044 00045 virtual ~GMUser( ); 00046 00047 // temporary hack, to be removed 00048 /* 00049 virtual const SDP::PayloadTypeTable* getPayloadTypes() = 0; 00050 virtual SDP::PayloadTypes getInternalPayloadType() = 0; 00051 virtual int getRTPPayloadType() = 0; 00052 */ 00053 virtual const SDP::PayloadTypeTable* getPayloadTypes(int idx) = 0; 00054 virtual SDP::PayloadTypes getInternalPayloadType(int idx) = 0; 00055 virtual int getRTPPayloadType(int idx) = 0; 00056 virtual int getPlayTimeSeconds(); 00057 virtual void fileComplete( const char* filename, bool comp ); 00058 00059 virtual void setProxyClientWrapper(ProxyClientWrapper* pcw); 00060 virtual ProxyClientWrapper* getProxyClientWrapper(); 00061 00065 virtual void streamStarted( ); 00066 00067 private: 00068 ProxyClientWrapper* _proxyClientWrapper; 00069 }; 00070 00072 #endif /* GMUSER_H */