00001 /****************************************************************************** 00002 * swcom.cpp - code for base class 'SWCom'- The basis for all commentary 00003 * modules 00004 */ 00005 00006 #include <swcom.h> 00007 00008 00009 /****************************************************************************** 00010 * SWCom Constructor - Initializes data for instance of SWCom 00011 * 00012 * ENT: imodname - Internal name for module 00013 * imoddesc - Name to display to user for module 00014 * idisp - Display object to use for displaying 00015 */ 00016 00017 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) 00018 { 00019 delete key; 00020 key = CreateKey(); 00021 } 00022 00023 00024 /****************************************************************************** 00025 * SWCom Destructor - Cleans up instance of SWCom 00026 */ 00027 00028 SWCom::~SWCom() 00029 { 00030 }