diff options
author | danglassey <danglassey> | 2002-10-22 13:01:49 +0000 |
---|---|---|
committer | danglassey <danglassey> | 2002-10-22 13:01:49 +0000 |
commit | caba6ff484a20e8ddc2d4912f0edbbe9f926499c (patch) | |
tree | ad16d42b45ac7d4ff93e63b95a4b273122dbc7fb /examples | |
parent | d16a90fac71b7e403549e78d0f14d4de9ad65111 (diff) | |
download | sword-sf-cvs-caba6ff484a20e8ddc2d4912f0edbbe9f926499c.tar.gz |
sync with crosswire 20021022-1300
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; |