removed clone() functions

This commit is contained in:
darkeye 2000-11-05 17:37:24 +00:00
parent fd8d39401e
commit bb45061db4
11 changed files with 53 additions and 88 deletions

View File

@ -120,10 +120,6 @@ class AudioSource : public Source
}
virtual AudioSource *
clone ( void ) const throw ( Exception ) = 0;
public:
inline unsigned int
@ -163,8 +159,11 @@ class AudioSource : public Source
$Source$
$Log$
Revision 1.1 2000/11/05 10:05:47 darkeye
Initial revision
Revision 1.2 2000/11/05 17:37:24 darkeye
removed clone() functions
Revision 1.1.1.1 2000/11/05 10:05:47 darkeye
initial version
------------------------------------------------------------------------------*/

View File

@ -142,13 +142,6 @@ class BufferedSink : public Sink
operator= ( const BufferedSink & bs ) throw ( Exception );
inline virtual BufferedSink *
clone ( void ) const throw ( Exception )
{
return new BufferedSink(*this);
}
inline virtual bool
open ( void ) throw ( Exception )
{
@ -205,8 +198,11 @@ class BufferedSink : public Sink
$Source$
$Log$
Revision 1.1 2000/11/05 10:05:48 darkeye
Initial revision
Revision 1.2 2000/11/05 17:37:24 darkeye
removed clone() functions
Revision 1.1.1.1 2000/11/05 10:05:48 darkeye
initial version
------------------------------------------------------------------------------*/

View File

@ -180,10 +180,6 @@ class CastSink : public Sink
}
virtual CastSink *
clone ( void ) const throw ( Exception ) = 0;
inline Sink *
getSink ( void ) const throw ()
{
@ -318,8 +314,11 @@ class CastSink : public Sink
$Source$
$Log$
Revision 1.1 2000/11/05 10:05:48 darkeye
Initial revision
Revision 1.2 2000/11/05 17:37:24 darkeye
removed clone() functions
Revision 1.1.1.1 2000/11/05 10:05:48 darkeye
initial version
------------------------------------------------------------------------------*/

View File

@ -188,10 +188,6 @@ class ExternalEncoder : public AudioEncoder
}
inline virtual ExternalEncoder *
clone ( void ) const throw ( Exception ) = 0;
const char *
getEncoderName ( void ) const throw ()
{
@ -244,6 +240,9 @@ class ExternalEncoder : public AudioEncoder
$Source$
$Log$
Revision 1.3 2000/11/05 17:37:24 darkeye
removed clone() functions
Revision 1.2 2000/11/05 14:08:27 darkeye
changed builting to an automake / autoconf environment

View File

@ -105,13 +105,6 @@ class FileSink : public Sink
operator= ( const FileSink & fs ) throw ( Exception );
inline virtual FileSink *
clone ( void ) const throw ( Exception )
{
return new FileSink(*this);
}
inline const char *
getFileName ( void ) const throw ()
{
@ -174,8 +167,11 @@ class FileSink : public Sink
$Source$
$Log$
Revision 1.1 2000/11/05 10:05:51 darkeye
Initial revision
Revision 1.2 2000/11/05 17:37:24 darkeye
removed clone() functions
Revision 1.1.1.1 2000/11/05 10:05:51 darkeye
initial version
------------------------------------------------------------------------------*/

View File

@ -125,13 +125,6 @@ class IceCast : public CastSink
}
return *this;
}
virtual IceCast *
clone ( void ) const throw ( Exception )
{
return new IceCast( *this );
}
};
@ -150,8 +143,11 @@ class IceCast : public CastSink
$Source$
$Log$
Revision 1.1 2000/11/05 10:05:52 darkeye
Initial revision
Revision 1.2 2000/11/05 17:37:24 darkeye
removed clone() functions
Revision 1.1.1.1 2000/11/05 10:05:52 darkeye
initial version
------------------------------------------------------------------------------*/

View File

@ -173,13 +173,6 @@ class LameEncoder : public ExternalEncoder
}
inline virtual LameEncoder *
clone ( void ) const throw ( Exception )
{
return new LameEncoder( *this );
}
inline unsigned int
getLowpass ( void ) const throw ()
{
@ -236,8 +229,11 @@ class LameEncoder : public ExternalEncoder
$Source$
$Log$
Revision 1.1 2000/11/05 10:05:52 darkeye
Initial revision
Revision 1.2 2000/11/05 17:37:24 darkeye
removed clone() functions
Revision 1.1.1.1 2000/11/05 10:05:52 darkeye
initial version
------------------------------------------------------------------------------*/

View File

@ -123,13 +123,6 @@ class OssDspSource : public AudioSource
}
inline virtual OssDspSource *
clone ( void ) const throw ( Exception )
{
return new OssDspSource( *this );
}
virtual bool
open ( void ) throw ( Exception );
@ -171,8 +164,11 @@ class OssDspSource : public AudioSource
$Source$
$Log$
Revision 1.1 2000/11/05 10:05:53 darkeye
Initial revision
Revision 1.2 2000/11/05 17:37:24 darkeye
removed clone() functions
Revision 1.1.1.1 2000/11/05 10:05:53 darkeye
initial version
------------------------------------------------------------------------------*/

View File

@ -96,13 +96,6 @@ class PipeSink : public FileSink
}
inline virtual PipeSink *
clone ( void ) const throw ( Exception )
{
return new PipeSink(*this);
}
virtual inline
~PipeSink( void ) throw ( Exception )
{
@ -133,8 +126,11 @@ class PipeSink : public FileSink
$Source$
$Log$
Revision 1.1 2000/11/05 10:05:53 darkeye
Initial revision
Revision 1.2 2000/11/05 17:37:24 darkeye
removed clone() functions
Revision 1.1.1.1 2000/11/05 10:05:53 darkeye
initial version
------------------------------------------------------------------------------*/

View File

@ -96,13 +96,6 @@ class PipeSource : public FileSource
}
inline virtual PipeSource *
clone ( void ) const throw ( Exception )
{
return new PipeSource(*this);
}
virtual inline
~PipeSource( void ) throw ( Exception )
{
@ -129,8 +122,11 @@ class PipeSource : public FileSource
$Source$
$Log$
Revision 1.1 2000/11/05 10:05:53 darkeye
Initial revision
Revision 1.2 2000/11/05 17:37:24 darkeye
removed clone() functions
Revision 1.1.1.1 2000/11/05 10:05:53 darkeye
initial version
------------------------------------------------------------------------------*/

View File

@ -107,13 +107,6 @@ class TcpSocket : public Source, public Sink
operator= ( const TcpSocket & ss ) throw ( Exception );
inline virtual TcpSocket *
clone ( void ) const throw ( Exception )
{
TcpSocket * s = new TcpSocket(*this);
}
inline const char *
getHost ( void ) const throw ()
{
@ -185,8 +178,11 @@ class TcpSocket : public Source, public Sink
$Source$
$Log$
Revision 1.1 2000/11/05 10:05:55 darkeye
Initial revision
Revision 1.2 2000/11/05 17:37:24 darkeye
removed clone() functions
Revision 1.1.1.1 2000/11/05 10:05:55 darkeye
initial version
------------------------------------------------------------------------------*/