[openbeos] Re: little Newsletter-Stats, old OBOS-side and anquestion about

  • From: Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Mon, 9 Feb 2004 17:25:59 +0100 (MET)

On Mon, 9 Feb 2004, Michael Phipps wrote:

> On 2004-02-09 at 09:39:17 [-0500], theUser BL wrote:
>
> > Yes, but the interesting thing is, that is do exactly the same like "mimeset
> > -f program"
> >
> <snip some evidence>
> >
> > And mimeset do a lot with the program. On some programs the size becomes a
> > little bit bigger and so.
>
> I haven't looked at the Tracker code, but I would guess that they both use
> the same Roster calls to lookup a files type and then write it out. :-)

In fact the BRoster::FindApp()/Launch() methods, which are certainly used
by the Tracker, invoke a create_app_meta_mime() for application, and, if
the MIME type of a file whose application shall be found needs to be
sniffed, update_mime_info() is invoked for it.

CU, Ingo

Other related posts: