[haiku-development] Re: Separation of application configuration, data and cache
- From: scott mc <scottmc2@xxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Tue, 10 Nov 2009 12:55:26 -0800
> Hi,
>
>> http://ploum.frimouvy.org/?207-modify-your-application-to-use-xdg-folders
>>
> Yes we know about FreeDesktop.
> It might actually be interesting to port this xdg lib to map to
> find_directory() so ported apps using it will just put stuff at the
> correct place.
>
>> I thought I'd bring this to the attention of the Haiku developers as
>> it might
>> be also interesting for Haiku.
>>
>> I know about find_directory(), but I don't know if there is already a
>> "B_USER_CACHE". That might be useful for Ryan Leavengood's web
>> browser
>> amongst other things.
>
> Actually I didn't think we had one yet, but I just checked and found
> B_USER_CACHE_DIRECTORY in :
> http://dev.haiku-os.org/browser/haiku/trunk/headers/os/storage/FindDirectory.h
>
> So just use it ;-)
>
> François.
I have just added this as a task ticket on HaikuPorts:
http://ports.haiku-files.org/ticket/250
Seems it's just a simple task of mapping of xdg dirs to find_directory
dirs, but that's just at first glance, a deeper reading of the spec
and code should be studied first just to be sure.
-scottmc
Other related posts:
- » [haiku-development] Separation of application configuration, data and cache- Christoph .J Thompson
- » [haiku-development] Re: Separation of application configuration, data and cache- François Revol
- » [haiku-development] Re: Separation of application configuration, data and cache- Axel Dörfler
- » [haiku-development] Re: Separation of application configuration, data and cache - scott mc
- » [haiku-development] Re: Separation of application configuration, data and cache- Christoph .J Thompson
- » [haiku-development] Re: Separation of application configuration, data and cache- PulkoMandy
- » [haiku-development] Re: Separation of application configuration, data and cache- François Revol
- » [haiku-development] Re: Separation of application configuration, data and cache- Christoph .J Thompson
- » [haiku-development] Re: Separation of application configuration, data and cache- Axel Dörfler
- » [haiku-development] Re: Separation of application configuration, data and cache- scott mc