Author: aschnell Date: Fri Mar 27 11:40:07 2009 New Revision: 56439 URL: http://svn.opensuse.org/viewcvs/yast?rev=56439&view=rev Log: - force overriding virtual functions Modified: trunk/storage/libstorage/src/OutputProcessor.cc trunk/storage/libstorage/src/OutputProcessor.h Modified: trunk/storage/libstorage/src/OutputProcessor.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/OutputProcessor.cc?rev=56439&r1=56438&r2=56439&view=diff ============================================================================== --- trunk/storage/libstorage/src/OutputProcessor.cc (original) +++ trunk/storage/libstorage/src/OutputProcessor.cc Fri Mar 27 11:40:07 2009 @@ -15,15 +15,9 @@ void -OutputProcessor::process( const string& val, bool stderr ) - { - y2mil("stderr:" << stderr << " val:" << val); - } - -void ScrollBarHandler::process( const string& val, bool stderr ) { - OutputProcessor::process( val, stderr ); + y2mil("val:" << val << " stderr:" << stderr); static int cnt=0; setCurValue( cnt++/2 ); } Modified: trunk/storage/libstorage/src/OutputProcessor.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/OutputProcessor.h?rev=56439&r1=56438&r2=56439&view=diff ============================================================================== --- trunk/storage/libstorage/src/OutputProcessor.h (original) +++ trunk/storage/libstorage/src/OutputProcessor.h Fri Mar 27 11:40:07 2009 @@ -6,16 +6,17 @@ namespace storage { -class OutputProcessor + class OutputProcessor { public: OutputProcessor() {} virtual ~OutputProcessor() {} - virtual void reset() {} - virtual void finished() {} - virtual void process( const string& txt, bool stderr ); + virtual void reset() = 0; + virtual void finished() = 0; + virtual void process(const string& txt, bool stderr) = 0; }; + class ScrollBarHandler : public OutputProcessor { public: -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org