The SWORD Project  1.9.0.svnversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
osisreferencelinks.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * osisreferencelinks.h - class OSISReferenceLinks: an OptionFilter to
4  * handle reference links having
5  * specified type/subType in modules marked up
6  * in OSIS
7  *
8  * $Id: osisreferencelinks.h 3786 2020-08-30 11:35:14Z scribe $
9  *
10  * Copyright 2013 CrossWire Bible Society (http://www.crosswire.org)
11  * CrossWire Bible Society
12  * P. O. Box 2528
13  * Tempe, AZ 85280-2528
14  *
15  * This program is free software; you can redistribute it and/or modify it
16  * under the terms of the GNU General Public License as published by the
17  * Free Software Foundation version 2.
18  *
19  * This program is distributed in the hope that it will be useful, but
20  * WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22  * General Public License for more details.
23  *
24  */
25 
26 #ifndef OSISREFERENCELINKS_H
27 #define OSISREFERENCELINKS_H
28 
29 #include <swoptfilter.h>
30 
32 
40 public:
41 
49  OSISReferenceLinks(const char *optionName, const char *optionTip, const char *type, const char *subType = 0, const char *defaultValue = "On");
50  virtual ~OSISReferenceLinks();
51  virtual char processText(SWBuf &text, const SWKey *key = 0, const SWModule *module = 0);
52 };
53 
55 #endif
56 
57 
#define SWORD_NAMESPACE_START
Definition: defs.h:39
Definition: swbuf.h:47
#define SWDLLEXPORT
Definition: defs.h:171
SWText * module
Definition: osis2mod.cpp:105
virtual char processText(SWBuf &text, const SWKey *key=0, const SWModule *module=0)=0
#define SWORD_NAMESPACE_END
Definition: defs.h:40
Definition: swkey.h:77