[Compbench-devel] CompBenchmarks++/libcompbenchmarks/System System.cpp, 1.14, 1.15
Brought to you by:
xfred
From: Frederic T. <xf...@us...> - 2007-05-16 12:31:01
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/System In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv17489 Modified Files: System.cpp Log Message: Improved UI API. Index: System.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/System/System.cpp,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** System.cpp 16 May 2007 09:46:19 -0000 1.14 --- System.cpp 16 May 2007 12:06:39 -0000 1.15 *************** *** 133,147 **** ! msg="Downloading "; ! msg+=url; ! ! cbmUI->ProgressInit(msg); T.Start(); while (!T.Terminated()) { sleep(1); ! cbmUI->Progress(T.Progress()); } ! cbmUI->ProgressDone(); return(1); } --- 133,149 ---- ! cbmUI->Information(CBM::UI::PackageDownload, ! url); ! T.Start(); while (!T.Terminated()) { sleep(1); ! cbmUI->Information(CBM::UI::PackageDownload, ! CBM::UI::Running, ! T.Progress()); } ! cbmUI->Information(CBM::UI::PackageDownload, ! CBM::UI::OK); return(1); } |