[openbeosstorage] Re: DiskDevice API 2.3 remarks

"Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx> wrote:
> "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 :-)

Oh, no, a misunderstanding: BStatusBar also uses float. It just 
defaults to the range [0.0, 100.0], while I'd favor [0.0, 1.0]. Not a 
big deal, though. :-)

> Furthermore, the disk jobs could tend to take a lot of time, making 
> .x 
> visible updates a plus or even necessary.

Sure.

CU, Ingo


Other related posts: