[openbeosstorage] Re: DiskDevice API 2.3 remarks

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeosstorage@xxxxxxxxxxxxx
  • Date: Tue, 27 May 2003 23:53:49 +0200 CEST

"Ingo Weinhold" <bonefish@xxxxxxxxxxxxxxx> wrote:
> * uint8 BDiskDeviceJob::Progress() const;
> I would love to see a float return value. I'd say, the most natural 
> range for it was [0, 1], but as BStatusBar's max value defaults to 
> 100, 
> I could live with that, too. The same goes for 
> B_DISK_DEVICE_JOB_SIMPLE_PROGRESS, of course.

I would also prefer a float - we shouldn't let the BStatusBar's habits 
rule our world :-)
Furthermore, the disk jobs could tend to take a lot of time, making .x 
visible updates a plus or even necessary.

Adios...
   Axel.


Other related posts: