On 14/05/11 21:45, Peter von Kaehne wrote:
> Guys,
> 
> I have created a first patch for a method getBibliography

And here is a test for it:

---------------------------

#include <swmgr.h>
#include <swtext.h>
#include <versekey.h>
#include <iostream>
#ifndef NO_SWORD_NAMESPACE
using namespace sword;
#endif

int main(int argc, char **argv) {
        SWMgr mymgr;
        ModMap::iterator it;
        SWModule *module = mymgr.Modules["KJV"];
        std::cout << module->getBibliography() << "\n";
        return 0;
}

-----------------------

I added this in my ./tests directory as bibliography.cpp.

Peter

_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to