The SWORD Project  1.9.0.svnversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
swdisp.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * swdisp.h - class SWDisplay: the basis for all
4  * types of displays (e.g. raw textout, curses, xwindow, etc.)
5  *
6  * $Id: swdisp.h 3820 2020-10-24 20:27:30Z scribe $
7  *
8  * Copyright 1996-2013 CrossWire Bible Society (http://www.crosswire.org)
9  * CrossWire Bible Society
10  * P. O. Box 2528
11  * Tempe, AZ 85280-2528
12  *
13  * This program is free software; you can redistribute it and/or modify it
14  * under the terms of the GNU General Public License as published by the
15  * Free Software Foundation version 2.
16  *
17  * This program is distributed in the hope that it will be useful, but
18  * WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20  * General Public License for more details.
21  *
22  */
23 
24 #ifndef SWDISP_H
25 #define SWDISP_H
26 
27 #include <swobject.h>
28 #include <defs.h>
29 
31 
32 class SWModule;
33 
37 class SWDLLEXPORT SWDisplay : public SWObject {
38 
39 public:
40  SWDisplay();
41  virtual ~SWDisplay() { };
42 
50  virtual char display(SWModule &imodule) = 0;
54  SWDEPRECATED char Display(SWModule &imodule) { return display(imodule); }
55 };
56 
58 #endif
#define SWORD_NAMESPACE_START
Definition: defs.h:39
#define SWDLLEXPORT
Definition: defs.h:171
virtual ~SWDisplay()
Definition: swdisp.h:41
#define SWDEPRECATED
Definition: defs.h:174
SWDEPRECATED char Display(SWModule &imodule)
Definition: swdisp.h:54
#define SWORD_NAMESPACE_END
Definition: defs.h:40