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: public:
inline unsigned int inline unsigned int
@ -163,8 +159,11 @@ class AudioSource : public Source
$Source$ $Source$
$Log$ $Log$
Revision 1.1 2000/11/05 10:05:47 darkeye Revision 1.2 2000/11/05 17:37:24 darkeye
Initial revision 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 ); operator= ( const BufferedSink & bs ) throw ( Exception );
inline virtual BufferedSink *
clone ( void ) const throw ( Exception )
{
return new BufferedSink(*this);
}
inline virtual bool inline virtual bool
open ( void ) throw ( Exception ) open ( void ) throw ( Exception )
{ {
@ -205,8 +198,11 @@ class BufferedSink : public Sink
$Source$ $Source$
$Log$ $Log$
Revision 1.1 2000/11/05 10:05:48 darkeye Revision 1.2 2000/11/05 17:37:24 darkeye
Initial revision 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 * inline Sink *
getSink ( void ) const throw () getSink ( void ) const throw ()
{ {
@ -318,8 +314,11 @@ class CastSink : public Sink
$Source$ $Source$
$Log$ $Log$
Revision 1.1 2000/11/05 10:05:48 darkeye Revision 1.2 2000/11/05 17:37:24 darkeye
Initial revision 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 * const char *
getEncoderName ( void ) const throw () getEncoderName ( void ) const throw ()
{ {
@ -244,6 +240,9 @@ class ExternalEncoder : public AudioEncoder
$Source$ $Source$
$Log$ $Log$
Revision 1.3 2000/11/05 17:37:24 darkeye
removed clone() functions
Revision 1.2 2000/11/05 14:08:27 darkeye Revision 1.2 2000/11/05 14:08:27 darkeye
changed builting to an automake / autoconf environment changed builting to an automake / autoconf environment

View File

@ -105,13 +105,6 @@ class FileSink : public Sink
operator= ( const FileSink & fs ) throw ( Exception ); operator= ( const FileSink & fs ) throw ( Exception );
inline virtual FileSink *
clone ( void ) const throw ( Exception )
{
return new FileSink(*this);
}
inline const char * inline const char *
getFileName ( void ) const throw () getFileName ( void ) const throw ()
{ {
@ -174,8 +167,11 @@ class FileSink : public Sink
$Source$ $Source$
$Log$ $Log$
Revision 1.1 2000/11/05 10:05:51 darkeye Revision 1.2 2000/11/05 17:37:24 darkeye
Initial revision 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; return *this;
} }
virtual IceCast *
clone ( void ) const throw ( Exception )
{
return new IceCast( *this );
}
}; };
@ -150,8 +143,11 @@ class IceCast : public CastSink
$Source$ $Source$
$Log$ $Log$
Revision 1.1 2000/11/05 10:05:52 darkeye Revision 1.2 2000/11/05 17:37:24 darkeye
Initial revision 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 inline unsigned int
getLowpass ( void ) const throw () getLowpass ( void ) const throw ()
{ {
@ -236,8 +229,11 @@ class LameEncoder : public ExternalEncoder
$Source$ $Source$
$Log$ $Log$
Revision 1.1 2000/11/05 10:05:52 darkeye Revision 1.2 2000/11/05 17:37:24 darkeye
Initial revision 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 virtual bool
open ( void ) throw ( Exception ); open ( void ) throw ( Exception );
@ -171,8 +164,11 @@ class OssDspSource : public AudioSource
$Source$ $Source$
$Log$ $Log$
Revision 1.1 2000/11/05 10:05:53 darkeye Revision 1.2 2000/11/05 17:37:24 darkeye
Initial revision 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 virtual inline
~PipeSink( void ) throw ( Exception ) ~PipeSink( void ) throw ( Exception )
{ {
@ -133,8 +126,11 @@ class PipeSink : public FileSink
$Source$ $Source$
$Log$ $Log$
Revision 1.1 2000/11/05 10:05:53 darkeye Revision 1.2 2000/11/05 17:37:24 darkeye
Initial revision 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 virtual inline
~PipeSource( void ) throw ( Exception ) ~PipeSource( void ) throw ( Exception )
{ {
@ -129,8 +122,11 @@ class PipeSource : public FileSource
$Source$ $Source$
$Log$ $Log$
Revision 1.1 2000/11/05 10:05:53 darkeye Revision 1.2 2000/11/05 17:37:24 darkeye
Initial revision 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 ); operator= ( const TcpSocket & ss ) throw ( Exception );
inline virtual TcpSocket *
clone ( void ) const throw ( Exception )
{
TcpSocket * s = new TcpSocket(*this);
}
inline const char * inline const char *
getHost ( void ) const throw () getHost ( void ) const throw ()
{ {
@ -185,8 +178,11 @@ class TcpSocket : public Source, public Sink
$Source$ $Source$
$Log$ $Log$
Revision 1.1 2000/11/05 10:05:55 darkeye Revision 1.2 2000/11/05 17:37:24 darkeye
Initial revision removed clone() functions
Revision 1.1.1.1 2000/11/05 10:05:55 darkeye
initial version
------------------------------------------------------------------------------*/ ------------------------------------------------------------------------------*/