Author: aschnell Date: Fri Mar 13 22:17:34 2009 New Revision: 56125 URL: http://svn.opensuse.org/viewcvs/yast?rev=56125&view=rev Log: - removed debug functions from interface Modified: trunk/storage/libstorage/src/Storage.cc trunk/storage/libstorage/src/Storage.h trunk/storage/libstorage/src/StorageInterface.h Modified: trunk/storage/libstorage/src/Storage.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Storage.cc?rev=56125&r1=56124&r2=56125&view=diff ============================================================================== --- trunk/storage/libstorage/src/Storage.cc (original) +++ trunk/storage/libstorage/src/Storage.cc Fri Mar 13 22:17:34 2009 @@ -852,7 +852,7 @@ void -Storage::handleLogFile( const string& name ) +Storage::handleLogFile(const string& name) const { string bname( name ); string::size_type pos = bname.rfind( '.' ); Modified: trunk/storage/libstorage/src/Storage.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Storage.h?rev=56125&r1=56124&r2=56125&view=diff ============================================================================== --- trunk/storage/libstorage/src/Storage.h (original) +++ trunk/storage/libstorage/src/Storage.h Fri Mar 13 22:17:34 2009 @@ -226,11 +226,9 @@ static bool isPPCMac() { return( is_ppc_mac ); } static bool isPPCPegasos() { return( is_ppc_pegasos ); } EtcFstab* getFstab() { return fstab; } - void handleLogFile( const string& name ); + void handleLogFile(const string& name) const; static bool testFilesEqual( const string& n1, const string& n2 ); - void printInfo( std::ostream& str ) { printInfo( str, "" ); } - void printInfo( std::ostream& str, const string& name ); - void printInfoCo( std::ostream& str, const string& name ) { printInfo( str, name ); } + void printInfo(std::ostream& str, const string& name = ""); void logCo(const Container* c) const; void logCo(const string& device); void logProcData( const string& l="" ); Modified: trunk/storage/libstorage/src/StorageInterface.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/StorageInterface.h?rev=56125&r1=56124&r2=56125&view=diff ============================================================================== --- trunk/storage/libstorage/src/StorageInterface.h (original) +++ trunk/storage/libstorage/src/StorageInterface.h Fri Mar 13 22:17:34 2009 @@ -5,7 +5,6 @@ #include <string> #include <deque> #include <list> -#include <ostream> using std::string; using std::deque; @@ -878,25 +877,6 @@ virtual list<string> getAllUsedFs() const = 0; /** - * Print all detected entities to a stream. - * Exact output format may change between releases. - * Function mainly meant for debugging purposes. - * - * @param str stream to print data to - */ - virtual void printInfo( std::ostream& str ) = 0; - - /** - * Print names entities to a stream. - * Exact output format may change between releases. - * Function mainly meant for debugging purposes. - * - * @param str stream to print data to - * @param name name of container to print - */ - virtual void printInfoCo( std::ostream& str, const string& name ) = 0; - - /** * Create a new partition. Units given in disk cylinders. * * @param disk device name of disk, e.g. /dev/hda -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org