blob: 1feb0cf6b5668b3419e3c9ef22262455215e35af (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/******************************************************************************
* swcom.cpp - code for base class 'SWCom'- The basis for all commentary
* modules
*/
#include <swcom.h>
/******************************************************************************
* SWCom Constructor - Initializes data for instance of SWCom
*
* ENT: imodname - Internal name for module
* imoddesc - Name to display to user for module
* idisp - Display object to use for displaying
*/
SWCom::SWCom(const char *imodname, const char *imoddesc, SWDisplay *idisp, SWTextEncoding enc, SWTextDirection dir, SWTextMarkup mark, const char* ilang): SWModule(imodname, imoddesc, idisp, "Commentaries", enc, dir, mark, ilang)
{
delete key;
key = CreateKey();
}
/******************************************************************************
* SWCom Destructor - Cleans up instance of SWCom
*/
SWCom::~SWCom()
{
}
|