Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

SWLD Class Reference

the basis for all types of Lexicon and Dictionary modules (hence the 'LD'). More...

#include <swld.h>

Inheritance diagram for SWLD:

SWModule List of all members.

Public Methods

 SWLD (const char *imodname = 0, const char *imoddesc = 0, SWDisplay * idisp = 0)
 Initializes data for instance of SWLD. More...

virtual ~SWLD ()
virtual SWKeyCreateKey ()
 Allocates a key of specific type for module. More...

virtual const char* KeyText (const char *ikeytext)
 Sets/gets module KeyText, getting from saved text if key is persistent. More...


Protected Attributes

char* entkeytxt


Detailed Description

the basis for all types of Lexicon and Dictionary modules (hence the 'LD').

Definition at line 34 of file swld.h.


Constructor & Destructor Documentation

SWLD::SWLD ( const char * imodname = 0,
const char * imoddesc = 0,
SWDisplay * idisp = 0 )

Initializes data for instance of SWLD.

Parameters:
imodname   Internal name for module
imoddesc   Name to display to user for module
idisp   Display object to use for displaying

Member Function Documentation

SWKey * SWLD::CreateKey ( ) [inline, virtual]

Allocates a key of specific type for module.

Returns:
pointer to allocated key

Reimplemented from SWModule.

Definition at line 47 of file swld.h.

const char * SWLD::KeyText ( const char * ikeytext ) [virtual]

Sets/gets module KeyText, getting from saved text if key is persistent.

Parameters:
ikeytext   value which to set keytext; [0] - only get
Returns:
pointer to keytext

Reimplemented from SWModule.


The documentation for this class was generated from the following file:
Generated at Thu May 24 19:50:29 2001 for The Sword Project by doxygen1.1.5 written by Dimitri van Heesch, © 1997-2000