Author: aschnell Date: Thu Mar 12 17:31:21 2009 New Revision: 56101 URL: http://svn.opensuse.org/viewcvs/yast?rev=56101&view=rev Log: - cleanup Modified: trunk/storage/libstorage/src/Graph.cc trunk/storage/libstorage/src/Graph.h trunk/storage/libstorage/src/HumanString.h Modified: trunk/storage/libstorage/src/Graph.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Graph.cc?rev=56101&r1=56100&r2=56101&view=diff ============================================================================== --- trunk/storage/libstorage/src/Graph.cc (original) +++ trunk/storage/libstorage/src/Graph.cc Thu Mar 12 17:31:21 2009 @@ -16,6 +16,7 @@ #include "y2storage/Graph.h" #include "y2storage/AppUtil.h" #include "y2storage/HumanString.h" +#include "y2storage/StorageInterface.h" using namespace std; Modified: trunk/storage/libstorage/src/Graph.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Graph.h?rev=56101&r1=56100&r2=56101&view=diff ============================================================================== --- trunk/storage/libstorage/src/Graph.h (original) +++ trunk/storage/libstorage/src/Graph.h Thu Mar 12 17:31:21 2009 @@ -9,11 +9,13 @@ #include <string> -#include "StorageInterface.h" +using std::string; namespace storage { + class StorageInterface; + /** * Saves a graph of the storage devices as a DOT file for graphviz. @@ -22,7 +24,7 @@ * @param filename filename of graph * @return true on successful writing of graph */ - bool saveGraph(StorageInterface* s, const std::string& filename); + bool saveGraph(StorageInterface* s, const string& filename); } Modified: trunk/storage/libstorage/src/HumanString.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/HumanString.h?rev=56101&r1=56100&r2=56101&view=diff ============================================================================== --- trunk/storage/libstorage/src/HumanString.h (original) +++ trunk/storage/libstorage/src/HumanString.h Thu Mar 12 17:31:21 2009 @@ -9,6 +9,8 @@ #include <string> +using std::string; + namespace storage { @@ -23,8 +25,8 @@ * @param omit_zeroes if true omit trailing zeroes for exact values * @return formatted string */ - std::string byteToHumanString(unsigned long long size, bool classic, int precision, - bool omit_zeroes); + string byteToHumanString(unsigned long long size, bool classic, int precision, + bool omit_zeroes); /** * Converts a size description using B, kB, MB, GB, TB or PB into an integer. @@ -37,7 +39,7 @@ * The conversion is always case-insensitive. With classic set to * false the conversion is also sloppy concerning omission of 'B'. */ - bool humanStringToByte(const std::string& str, bool classic, unsigned long long& size); + bool humanStringToByte(const string& str, bool classic, unsigned long long& size); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org