8 | | * configuration files should go in home/config/settings; and the path should be obtained by the appropriate functions & constants, not hardcoded - use find_directory ([http://ports.haiku-files.org/wiki/FindDirectory Examples for porting]). |
9 | | * The app must not write anything to the hard disk except in its own directory (/boot/app/appName, or whatever the user installed it), the configuration directories (home/config/settings, common/), unless the user explicitly asks for it (a save dialog is a good example). |
| 8 | * configuration files should go in home/config/settings; and the path should be obtained by the appropriate functions & constants, not hardcoded - use find_directory() ([http://ports.haiku-files.org/wiki/FindDirectory Examples for porting]). |
| 9 | * The app must not write anything to the hard disk except in its own directory (/boot/app/appName, or whatever the user installed it), the configuration directories (home/config/settings, common/), unless the user explicitly asks for it (a save dialog is a good example). <-- This makes little sense, as an application usually won't have the rights to write anything into its own directory. It may write to the user's cache, data, or settings directory, though, and that's pretty much it (axeld). |