[sword-svn] r2776 - trunk/include

scribe at crosswire.org scribe at crosswire.org
Fri Jan 25 08:15:25 MST 2013


Author: scribe
Date: 2013-01-25 08:15:25 -0700 (Fri, 25 Jan 2013)
New Revision: 2776

Modified:
   trunk/include/swdisp.h
Log:
re-added deprecated method instead of renaming it.


Modified: trunk/include/swdisp.h
===================================================================
--- trunk/include/swdisp.h	2013-01-24 19:29:54 UTC (rev 2775)
+++ trunk/include/swdisp.h	2013-01-25 15:15:25 UTC (rev 2776)
@@ -36,7 +36,7 @@
 class SWDLLEXPORT SWDisplay : public SWObject {
   static SWClass classdef;
 public:
-  SWDisplay () { myclass = &classdef; };
+  SWDisplay() { myclass = &classdef; };
   virtual ~SWDisplay() {};
   
   /** casts a module to a character pointer and displays it to
@@ -46,7 +46,8 @@
   * @param imodule module to display
   * @return error status
   */
-  virtual char display(SWModule & imodule);
+  virtual char display(SWModule &imodule);
+  SWDEPRECATED char Display(SWModule &imodule) { return display(imodule); }
 };
 
 SWORD_NAMESPACE_END




More information about the sword-cvs mailing list