From fbaf268435612e0009d9817803832b5c21702944 Mon Sep 17 00:00:00 2001 From: darkeye Date: Thu, 9 Nov 2000 22:07:19 +0000 Subject: [PATCH] added constructor with istream --- darkice/trunk/src/Config.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/darkice/trunk/src/Config.h b/darkice/trunk/src/Config.h index 74fcc47..0ac1c27 100644 --- a/darkice/trunk/src/Config.h +++ b/darkice/trunk/src/Config.h @@ -92,13 +92,20 @@ class Config : public virtual Referable public: inline - Config ( void ) throw ( Exception ) + Config ( void ) throw ( Exception ) { } + inline + Config ( istream & is ) throw ( Exception ) + { + read( is ); + } + + inline virtual - ~Config ( void ) throw ( Exception ) + ~Config ( void ) throw ( Exception ) { } @@ -153,6 +160,9 @@ class Config : public virtual Referable $Source$ $Log$ + Revision 1.2 2000/11/09 22:07:19 darkeye + added constructor with istream + Revision 1.1 2000/11/08 17:29:50 darkeye added configuration file reader