[openbeos] Re: B_USER_DATA_DIRECTORY?

  • From: "Mikael Jansson" <tic_khr@xxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Thu, 23 Sep 2004 18:00:35 GMT

>
> Well, FindDirectory.h at least here has both
> B_USER_DIRECTORY -> ~/
> B_USER_CONFIG_DIRECTORY -> ~/config
> now depending on your app's behaviour, those files are supposed to be 
> documents or settings...
> settings goes in ~/config/settings/
> documents goes to... no idea.
> Would B_USER_DATA_DIRECTORY be some kind of "MyDocuments" ?
> in that case, would it be useful to have subtopics in there 
> (MyPictures, MyMusic...)
>
No, as has been said, this is for dynamic app data that only the 
application itself needs to know about. 

So we have these classes of data:
* User-created data: $HOME
        * images, code, letters, and so on. 
* Application settings: ~/config/settings.
        * Current keymap, mouse settings, etc.
* Static application data: /boot/apps/{app}/{data, add-ons, lib}
        * Pre-installed plugins, game graphics, etc.
* Dynamic application data: --- err --- ?

The last part is where it gets tricky.

--
Mikael Jansson
http://mikael.jansson.be

Other related posts: