diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/cmdline/search.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/examples/cmdline/search.cpp b/examples/cmdline/search.cpp index 34af335..2432e20 100644 --- a/examples/cmdline/search.cpp +++ b/examples/cmdline/search.cpp @@ -1,15 +1,12 @@ #include <stdio.h> #include <rawtext.h> #include <swmgr.h> +#include <markupfiltmgr.h> #include <regex.h> // GNU #include <iostream> #ifndef NO_SWORD_NAMESPACE -using sword::SWMgr; -using sword::SWModule; -using sword::ModMap; -using sword::VerseKey; -using sword::ListKey; +using namespace sword; #endif void percentUpdate(char percent, void *userData) { @@ -30,7 +27,8 @@ void percentUpdate(char percent, void *userData) { int main(int argc, char **argv) { - SWMgr manager; + SWMgr manager(0, 0, true, new MarkupFilterMgr(FMT_RTF, ENC_RTF)); +// SWMgr manager; SWModule *target; ListKey listkey; ListKey scope; |