From bb45061db4a199ffe06b806517bc96e13f3dab1a Mon Sep 17 00:00:00 2001 From: darkeye Date: Sun, 5 Nov 2000 17:37:24 +0000 Subject: [PATCH] removed clone() functions --- darkice/trunk/src/AudioSource.h | 11 +++++------ darkice/trunk/src/BufferedSink.h | 14 +++++--------- darkice/trunk/src/CastSink.h | 11 +++++------ darkice/trunk/src/ExternalEncoder.h | 7 +++---- darkice/trunk/src/FileSink.h | 14 +++++--------- darkice/trunk/src/IceCast.h | 14 +++++--------- darkice/trunk/src/LameEncoder.h | 14 +++++--------- darkice/trunk/src/OssDspSource.h | 14 +++++--------- darkice/trunk/src/PipeSink.h | 14 +++++--------- darkice/trunk/src/PipeSource.h | 14 +++++--------- darkice/trunk/src/TcpSocket.h | 14 +++++--------- 11 files changed, 53 insertions(+), 88 deletions(-) diff --git a/darkice/trunk/src/AudioSource.h b/darkice/trunk/src/AudioSource.h index ac0e1a1..767217d 100644 --- a/darkice/trunk/src/AudioSource.h +++ b/darkice/trunk/src/AudioSource.h @@ -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 ------------------------------------------------------------------------------*/ diff --git a/darkice/trunk/src/BufferedSink.h b/darkice/trunk/src/BufferedSink.h index 1b618ae..b06a27e 100644 --- a/darkice/trunk/src/BufferedSink.h +++ b/darkice/trunk/src/BufferedSink.h @@ -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 ------------------------------------------------------------------------------*/ diff --git a/darkice/trunk/src/CastSink.h b/darkice/trunk/src/CastSink.h index 539bd17..7e3d6b4 100644 --- a/darkice/trunk/src/CastSink.h +++ b/darkice/trunk/src/CastSink.h @@ -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 ------------------------------------------------------------------------------*/ diff --git a/darkice/trunk/src/ExternalEncoder.h b/darkice/trunk/src/ExternalEncoder.h index 79494bc..ab739eb 100644 --- a/darkice/trunk/src/ExternalEncoder.h +++ b/darkice/trunk/src/ExternalEncoder.h @@ -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 diff --git a/darkice/trunk/src/FileSink.h b/darkice/trunk/src/FileSink.h index e214dd1..5aff0cd 100644 --- a/darkice/trunk/src/FileSink.h +++ b/darkice/trunk/src/FileSink.h @@ -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 ------------------------------------------------------------------------------*/ diff --git a/darkice/trunk/src/IceCast.h b/darkice/trunk/src/IceCast.h index 4224391..f558ef5 100644 --- a/darkice/trunk/src/IceCast.h +++ b/darkice/trunk/src/IceCast.h @@ -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 ------------------------------------------------------------------------------*/ diff --git a/darkice/trunk/src/LameEncoder.h b/darkice/trunk/src/LameEncoder.h index 5d91f55..107ccb0 100644 --- a/darkice/trunk/src/LameEncoder.h +++ b/darkice/trunk/src/LameEncoder.h @@ -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 ------------------------------------------------------------------------------*/ diff --git a/darkice/trunk/src/OssDspSource.h b/darkice/trunk/src/OssDspSource.h index 0cf21ef..a028d93 100644 --- a/darkice/trunk/src/OssDspSource.h +++ b/darkice/trunk/src/OssDspSource.h @@ -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 ------------------------------------------------------------------------------*/ diff --git a/darkice/trunk/src/PipeSink.h b/darkice/trunk/src/PipeSink.h index 2a977a6..25a4fc9 100644 --- a/darkice/trunk/src/PipeSink.h +++ b/darkice/trunk/src/PipeSink.h @@ -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 ------------------------------------------------------------------------------*/ diff --git a/darkice/trunk/src/PipeSource.h b/darkice/trunk/src/PipeSource.h index 2557607..63c819c 100644 --- a/darkice/trunk/src/PipeSource.h +++ b/darkice/trunk/src/PipeSource.h @@ -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 ------------------------------------------------------------------------------*/ diff --git a/darkice/trunk/src/TcpSocket.h b/darkice/trunk/src/TcpSocket.h index 725ce9c..80a6776 100644 --- a/darkice/trunk/src/TcpSocket.h +++ b/darkice/trunk/src/TcpSocket.h @@ -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 ------------------------------------------------------------------------------*/