[sword-devel] SWConfig Changes

Daniel Glassey sword-devel@crosswire.org
Thu, 5 Sep 2002 12:48:52 +0100


I think this catches most of the uses of SWConfig, mostly random thoughts so I hope you can follow it.

need ways of creating new conf files.
and deleting cruft from old ones.

Module config location files:
single section [Install]
mutiple items DataPath for where to look for data
should be documented in wiki

Module config files:
single section [ModuleName]
various items - see http://sword.sourceforge.net/cgi-bin/twiki/view/Swordapi/ConfFileLayout

user preferences for win32 app: - options.conf

win32 layout: - layout.conf
various sections with various items
should be documented in wiki

bookmarks for win32 app:
is swconfig going to be the bookmark format for bibletime and gnomesword too?
haven't investigated how these work
should be documented in wiki

win32 gui schemes: - schemes.conf
merged from colors/*.sch ?
section for each scheme
should be documented in wiki

language bible locales: - locales.d/*.conf
[Meta] section with name, description, translator
[Text] with mappings from
EnglishName=TranslatedName
[Book Abbrevs] with mappings from
Upper Case(Abbreviation)=BookNumber
should be documented in wiki


win32 gui locales: uilocales.d/*.conf
[Meta] section with name, description, translator
[Text] with mappings from
EnglishText=TranslatedText
and
TranslatedImage=image/location.bmp
should be documented in wiki

hope this helps,
Daniel