aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authordanglassey <danglassey>2002-10-22 13:01:49 +0000
committerdanglassey <danglassey>2002-10-22 13:01:49 +0000
commitcaba6ff484a20e8ddc2d4912f0edbbe9f926499c (patch)
treead16d42b45ac7d4ff93e63b95a4b273122dbc7fb /examples
parentd16a90fac71b7e403549e78d0f14d4de9ad65111 (diff)
downloadsword-sf-cvs-caba6ff484a20e8ddc2d4912f0edbbe9f926499c.tar.gz
sync with crosswire 20021022-1300
Diffstat (limited to 'examples')
-rw-r--r--examples/cmdline/search.cpp10
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;