#include <swcom.h>
Inheritance diagram for SWCom:
Public Methods | |
SWCom (const char *imodname=0, const char *imoddesc=0, SWDisplay *idisp=0, SWTextEncoding enc=ENC_UNKNOWN, SWTextDirection dir=DIRECTION_LTR, SWTextMarkup mark=FMT_UNKNOWN, const char *ilang=0) | |
Initializes data for instance of SWCom. More... | |
virtual | ~SWCom () |
virtual SWKey * | CreateKey () |
Allocates a key of specific type for module The different reimplementatiosn of SWModule (e.g. More... |
Definition at line 33 of file swcom.h.
|
Initializes data for instance of SWCom.
Definition at line 17 of file swcom.cpp. References CreateKey(), and SWModule::key.
|
|
Allocates a key of specific type for module The different reimplementatiosn of SWModule (e.g. SWText) support SWKey implementations, which support special. This functions returns a SWKey object which works with the current implementation of SWModule. For example for the SWText class it returns a VerseKey object.
Reimplemented from SWModule. Definition at line 44 of file swcom.h. Referenced by SWCom().
00045 { 00046 return new VerseKey(); 00047 } |