Go to the FreeLists Home Page Home Signup Help Login
 



[openbeosstorage] || [Date Prev] [05-2003 Date Index] [Date Next] || [Thread Prev] [05-2003 Thread Index] [Thread Next]

[openbeosstorage] Re: DiskDevice API 2.3 remarks

  • From: "Ingo Weinhold" <bonefish@xxxxxxxxxxxxxxx>
  • To: openbeosstorage@xxxxxxxxxxxxx
  • Date: Tue, 27 May 2003 23:58:40 +0200 CEST
"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






[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.