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
hrefcom.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* hrefcom.h - class HREFCom: a module driver that supports commentary
4
* entries which don't store their text body, but instead a URL
5
* where the text body can be retrieved.
6
*
7
* $Id: hrefcom.h 3786 2020-08-30 11:35:14Z scribe $
8
*
9
* Copyright 1998-2013 CrossWire Bible Society (http://www.crosswire.org)
10
* CrossWire Bible Society
11
* P. O. Box 2528
12
* Tempe, AZ 85280-2528
13
*
14
* This program is free software; you can redistribute it and/or modify it
15
* under the terms of the GNU General Public License as published by the
16
* Free Software Foundation version 2.
17
*
18
* This program is distributed in the hope that it will be useful, but
19
* WITHOUT ANY WARRANTY; without even the implied warranty of
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21
* General Public License for more details.
22
*
23
*/
24
25
#ifndef HREFCOM_H
26
#define HREFCOM_H
27
28
#include <
rawverse.h
>
29
#include <
swcom.h
>
30
31
#include <
defs.h
>
32
33
SWORD_NAMESPACE_START
34
35
class
SWDLLEXPORT
HREFCom
:
public
RawVerse
,
public
SWCom
{
36
37
private
:
38
char
*
prefix
;
39
40
public
:
41
HREFCom
(
const
char
*ipath,
const
char
*prefix,
const
char
*iname = 0,
const
char
*idesc = 0,
SWDisplay
* idisp = 0);
42
virtual
~
HREFCom
();
43
virtual
SWBuf
&
getRawEntryBuf
()
const
;
44
45
// OPERATORS -----------------------------------------------------------------
46
47
SWMODULE_OPERATORS
48
};
49
50
SWORD_NAMESPACE_END
51
#endif
SWORD_NAMESPACE_START
#define SWORD_NAMESPACE_START
Definition:
defs.h:39
SWBuf
Definition:
swbuf.h:47
SWDLLEXPORT
#define SWDLLEXPORT
Definition:
defs.h:171
swcom.h
defs.h
HREFCom
Definition:
hrefcom.h:35
HREFCom::prefix
char * prefix
Definition:
hrefcom.h:38
SWCom
Definition:
swcom.h:49
SWModule::getRawEntryBuf
virtual SWBuf & getRawEntryBuf() const =0
SWDisplay
Definition:
swdisp.h:37
rawverse.h
SWMODULE_OPERATORS
#define SWMODULE_OPERATORS
Definition:
swmodule.h:54
RawVerse
Definition:
rawverse.h:36
SWORD_NAMESPACE_END
#define SWORD_NAMESPACE_END
Definition:
defs.h:40
include
hrefcom.h
Generated by
1.8.5