[sword-devel] Namespace Proposal re eBible - collissions, duplication, clean-up etc

Greg Hellings greg.hellings at gmail.com
Thu Sep 3 07:12:23 MST 2015


The library already does support this, if the application asks it to do so.

SWMgr::augmentModules(const char * path, bool multiMod = false)
"multiMod whether or not to keep multiple copies of the same book if
found in different paths default - false, uses last found version of
the book"

How the developer can differentiate which source the duplicates came
from, I don't know. However, I see from the code it munges the names
so you'd have something like "KJV" and "KJV_1" if I'm reading this
code correctly.

--Greg

On Thu, Sep 3, 2015 at 8:58 AM, Karl Kleinpaste <karl at kleinpaste.org> wrote:
> On 09/03/2015 09:54 AM, Greg Hellings wrote:
>
> It would necessitate changes to existing front-ends, but they would not be
> drastic.
>
> Generally speaking, I am suspicious of things that require "changes to [all]
> existing front-ends," because then it smells very much like something that
> ought to be solved in the engine rather than in the UI.
>
> _______________________________________________
> 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