[sword-devel] SWConfig clarification

Mike Dougherty sword-devel@crosswire.org
11 Dec 2001 09:19:14 -0800


In looking at the code in swconfig.cpp it appears as though the the
Save() method iterates though all the sections saving their properties
to a single file. However, when I look in the .conf files in
<install_dir>/mods.d/ they only have a single configuration entry per
file. So which is correct, writing one file with all entries in it, or
one file per section?

Also, it looks as though the SWMgr is responsible for finding and then
loading the configuration files. Is this correct?

Thanks,
/mike


-- 
******************************************
 Mike Dougherty -- Java Software Engineer
******************************************
 Unprovided with original learning, unformed in the habits of thinking,
 unskilled in the arts of composition, I resolved to write a book.
 		-- Edward Gibbon