[openbeosstorage] Re: BMimeType

On Sat, 8 Jun 2002, Tyler Dauwalder wrote:

> I think I'd prefer the latter choice (tests first, implementation second). 
> Better to get a good feel for how things are supposed to work. 

Alright, I'm all for it.

> > However we start, we should divide the work by functionality first. So
> > what functionalities do we have:
> > * basic MIME string stuff (constructor/destructor, Contains(),
> >   SuperType()...)
> > * database access (Install(), Delete(), GetAppHint(), GetIcon(),...)
> > * monitoring
> > * C functions (create_app_meta_mime(), get_device_icon(),
> >   update_mime_info())
> 
> And I would also include:
> 
> * Sniffer functionality (GetSnifferRule(), SetSnifferRule(), 
> CheckSnifferRule(), GuessMimeType())

Oh yes, right, the aren't documented, are they? I've never used any of 
these functions. Do you know how the sniffer rules are supposed to look
like?

> > I think, I would do the monitoring part, since I can reuse some things
> > from BQuery for that. The C functions (save get_device_icon()) may be
> > hard to test. I would take them nevertheless. And the MIME string
> > functionality. Then the main part remains for you. ;-)
> > We can bargain though. :-)
> 
> That sounds good to me. :-) I'd be willing to take the sniffer functionality 
> too, or to leave it to whoever finishes the rest of their tasks first. Either 
> way is fine with me.

Let's leave it vacant and let the early bird catch the worm. :-P
Sounds like we have a plan. :-)

CU, Ingo


Other related posts: