summaryrefslogtreecommitdiffstats
path: root/bibletime/backend
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2014-08-31 04:30:46 +0200
committerSlávek Banko <[email protected]>2014-08-31 04:30:46 +0200
commit5d683513832e8bae4f6b00b7e198c4db0bf96f6b (patch)
tree9dc4952fd37444cc68e9043006796add5432a394 /bibletime/backend
parent24dc60bea262b34cf7d3a6d09c10cd770869e2c0 (diff)
downloadbibletime-5d683513832e8bae4f6b00b7e198c4db0bf96f6b.tar.gz
bibletime-5d683513832e8bae4f6b00b7e198c4db0bf96f6b.zip
Fix FTBFS with sword 1.7.x
Diffstat (limited to 'bibletime/backend')
-rw-r--r--bibletime/backend/centrydisplay.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/bibletime/backend/centrydisplay.h b/bibletime/backend/centrydisplay.h
index d800abe..832dd5f 100644
--- a/bibletime/backend/centrydisplay.h
+++ b/bibletime/backend/centrydisplay.h
@@ -13,6 +13,7 @@
#define CENTRYDISPLAY_H
//BibleTime includes
+#include "config.h"
#include "ctextrendering.h"
#include "cswordmoduleinfo.h"
#include "cswordbackend.h"
@@ -45,6 +46,17 @@ public:
* The displayoptions and filter options are used, too.
*/
virtual const TQString text( const ListCSwordModuleInfo& modules, const TQString& key, const CSwordBackend::DisplayOptions displayOptions, const CSwordBackend::FilterOptions filterOptions);
+
+#ifdef SWORD_API_1_7
+ /** casts a module to a character pointer and displays it to
+ * raw output (overriden for different display types and
+ * module types if necessary)
+ *
+ * @param imodule module to display
+ * @return error status
+ */
+ virtual char display(SWModule &imodule) { return 0; };
+#endif
};