The SWORD Project
1.9.0.svnversion
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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
31
SWORD_NAMESPACE_START
32
35
class
SWDLLEXPORT
OSISReferenceLinks
:
public
SWOptionFilter
{
36
SWBuf
optionName
;
37
SWBuf
optionTip
;
38
SWBuf
type
;
39
SWBuf
subType
;
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
54
SWORD_NAMESPACE_END
55
#endif
56
57
SWORD_NAMESPACE_START
#define SWORD_NAMESPACE_START
Definition:
defs.h:39
SWBuf
Definition:
swbuf.h:47
SWDLLEXPORT
#define SWDLLEXPORT
Definition:
defs.h:171
module
SWText * module
Definition:
osis2mod.cpp:105
OSISReferenceLinks::optionTip
SWBuf optionTip
Definition:
osisreferencelinks.h:37
SWOptionFilter
Definition:
swoptfilter.h:47
SWModule
Definition:
swmodule.h:101
SWFilter::processText
virtual char processText(SWBuf &text, const SWKey *key=0, const SWModule *module=0)=0
OSISReferenceLinks::subType
SWBuf subType
Definition:
osisreferencelinks.h:39
OSISReferenceLinks::optionName
SWBuf optionName
Definition:
osisreferencelinks.h:36
OSISReferenceLinks
Definition:
osisreferencelinks.h:35
OSISReferenceLinks::type
SWBuf type
Definition:
osisreferencelinks.h:38
SWORD_NAMESPACE_END
#define SWORD_NAMESPACE_END
Definition:
defs.h:40
SWKey
Definition:
swkey.h:77
swoptfilter.h
include
osisreferencelinks.h
Generated by
1.8.5