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

swdisp.cpp

00001 /******************************************************************************
00002  *  swdisp.cpp  - code for base class 'swdisp'.  swdisp is the basis for all
00003  *                types of displays (e.g. raw textout, curses, xwindow, etc.)
00004  */
00005 
00006 #include <iostream.h>
00007 #include <swmodule.h>
00008 #include <swdisp.h>
00009 
00010 
00011 /******************************************************************************
00012  * SWDisplay::Display - casts a module to a character pointer and displays it to
00013  *                      raw output (overriden for different display types and
00014  *                      module types if necessary)
00015  *
00016  * ENT: imodule - module to display
00017  *
00018  * RET: error status
00019  */
00020 
00021 char SWDisplay::Display(SWModule &imodule)
00022 {
00023         cout << (const char *)imodule;
00024         return 0;
00025 }

Generated on Wed Apr 3 22:34:15 2002 for The Sword Project by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002