BibleManager: add module fetch error checking
commitdbee1ddc2dc210c45e8e78f2e6a358cae54f5a06
authorJames Hogan <james@albanarts.com>
Mon, 15 Nov 2010 18:26:51 +0000 (15 18:26 +0000)
committerJames Hogan <james@albanarts.com>
Mon, 15 Nov 2010 21:43:35 +0000 (15 21:43 +0000)
tree1712f0b2a2cfa3e8bebef4157e2d52d3345bed8a
parent580dce99a77975da934c1fd79f3e12d61d4929c0
BibleManager: add module fetch error checking

Add bool* ok = 0 parameter to KwBibleManager module/language fetch
functions, and implement in BibleGateway and SWORD bible managers.

Improve error handling in KwBiblePlugin, removing placeholder from
combobox and disabling combobox if failed to load module list or no
modules found.
kworship/bible/KwBibleManager.h
kworship/bible/KwBiblePlugin.cpp
kworship/bible/biblegateway/KwBibleManagerBibleGateway.cpp
kworship/bible/biblegateway/KwBibleManagerBibleGateway.h
kworship/bible/sword/KwBibleManagerSword.cpp
kworship/bible/sword/KwBibleManagerSword.h