- move AliveCursor to src/output
authorJan Kupec <jkupec@suse.cz>
Thu, 13 Mar 2008 15:44:35 +0000 (15:44 +0000)
committerJan Kupec <jkupec@suse.cz>
Thu, 13 Mar 2008 15:44:35 +0000 (15:44 +0000)
src/output/AliveCursor.h [moved from src/AliveCursor.h with 100% similarity]
src/output/OutNormal.cc
src/zypper-repos.cc

similarity index 100%
rename from src/AliveCursor.h
rename to src/output/AliveCursor.h
index 36d0dd7..2a3d3ed 100644 (file)
@@ -5,7 +5,7 @@
 #include "zypp/ByteCount.h" // for download progress reporting
 
 #include "../zypper-main.h"
-#include "../AliveCursor.h"
+#include "AliveCursor.h"
 
 #include "OutNormal.h"
 
index 12dff65..414d0c1 100644 (file)
@@ -152,19 +152,7 @@ static bool refresh_raw_metadata(Zypper & zypper,
 }
 
 // ---------------------------------------------------------------------------
-/*
-bool build_cache_callback(const ProgressData & pd)
-{
-  static AliveCursor cursor;
-  if ( pd.val() == 100 )
-    cout << CLEARLN << cursor.done() << " " << pd.name();
-  else
-    cout << CLEARLN << cursor++ << " " << pd.name();
-  cout << " [" << pd.val() << "%] :O)";
-  cout << flush;
-  return true;
-}
-*/
+
 static bool build_cache(Zypper & zypper, const RepoInfo &repo, bool force_build)
 {
   if (force_build)