[openbeosstorage] Re: BNodeInfo::GetTrackerIcon()

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeosstorage@xxxxxxxxxxxxx
  • Date: Wed, 10 Mar 2004 02:51:05 +0100 CET

"Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx> wrote:
> First, the generic MIME type is also defined as a constant, but it 
> shouldn't be taken for all files. Instead, it should be 
> differentiated 
> by file type. I.e. it should take "application/x-vnd.Be-directory" 
> for 
> directories, "application/x-vnd.Be-volume" for volumes, etc.

BTW if you don't mind I could do these changes, because I need them at 
another place (BeMail), too. Would that be okay for you?

Which brings me to suggesting a:

static status_t BNodeInfo::GetTrackerIcon(const char *fileType, BBitmap 
*icon, icon_size which = B_LARGE_ICON);

What do you think?

Bye,
   Axel.


Other related posts: