[haiku-commits] Re: r38768 - in haiku/trunk/src/apps/mediaplayer: . playlist

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 22 Sep 2010 22:57:26 +0200

"Clemens Zeidler" <clemens.zeidler@xxxxxxxxxxxxxx> wrote:
> Am 22.09.2010, 20:00 Uhr, schrieb Stephan Assmus <superstippi@xxxxxx>:
> > > Both BDirectory and the new BQueryFile which Axel just added derive 
> > from  
> > a common base class "BEntryList". Is this already what you had in 
> > mind?
> Yes, but you have to support BQueryFile explicit in your app, I 
> thought  
> about something system wide, you install an add-on and every app can  
> handle it...

Not sure if that's really worth it (at least I haven't got any idea of 
a use case beyond directories, and queries). In this particular case, a 
BEntryList factory that returns an object by entry_ref would do, anyway.

Bye,
   Axel.


Other related posts: