[sword-devel] Windows Module Scheme - Question for Manfred as well
Jeremy Erickson
jerickson314 at users.sourceforge.net
Wed Jan 14 19:27:44 MST 2009
Hi,
I know this thread is a month old, but it does leave an important question
for me. As Matthew Talbert pointed out to me, it would be more useful in
BibleMemorizer if the Sword plugin found modules installed by common
frontends. He told me that GnomeSword on Windows uses APPDATA/.sword and
ALLUSERSAPPS/Application Data/.sword. Is
C:\Program Files\CrossWire\The SWORD Project\ in use now? What other
locations would I need to search to find modules from common frontends? (If
everyone already followed Troy's suggestion, this would be trivial.)
Manfred, I would like the Mac version of the plugin to find MacSword modules
as well. Where should I configure Sword to be searching for these modules,
or is there a standard preferences file I can access from C++ with this
setting? (Qt 4 directly supports reading .plist files, so those would be
easy for me to handle.)
Also, is there an easy way in the API to dynamically add these paths, or do I
need to write settings to a .conf file?
-Jeremy Erickson
On Friday 19 December 2008 4:38:04 am Troy A. Griffitts wrote:
> Since this thread has morphed into another discussion on how to play
> nice with eachother, can we get a consensus on where we think sword
> modules should live on different versions of windows?
>
> My vote is for the global system module install (similar to
> /usr/share/sword on UNIX) to keep things where they are, but this is
> wearing my 'just another frontend developer hat'.
>
> C:\Program Files\CrossWire\The SWORD Project\
>
> I suggest installing by default here, letting the user choose otherwise,
> and setting SWORD_PATH to where the user chose. I would also suggest
> installing locales.d (and possibly other future engine data files we've
> recently discussed like versification schemes and language code->name
> lookup table) here as well.
>
> My vote is that %HOME%/.sword/ for user personal data and modules is not
> a very bad thing to leave, as well.
>
> What is very important is to agree here so our apps can all work together.
>
>
> Thoughts?
>
> -Troy.
>
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
More information about the sword-devel
mailing list