6
1
Fork 0
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
bibletime/bibletime/backend/cbookdisplay.h

46 linhas
1.1 KiB

//
// C++ Interface: cbookdisplay
//
// Description:
//
//
// Author: The BibleTime team <info@bibletime.info>, (C) 2004
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef RENDERINGCBOOKDISPLAY_H
#define RENDERINGCBOOKDISPLAY_H
#include "centrydisplay.h"
class CSwordTreeKey;
namespace Rendering {
class CTextRendering::KeyTree;
/**
* A CEntryDisplay implementation which works on tree-based GenBook modules
* of Sword.
* @short CEntryDisplay implementation for GenBook modules,
* @author The BibleTime team
*/
class CBookDisplay : public CEntryDisplay {
public: // Public methods
virtual ~CBookDisplay() {}
/**
* Returns the rendered text using the modules in the list and using the key parameter.
* 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);
protected:
void setupRenderTree(CSwordTreeKey* swordTree, CTextRendering::KeyTree* renderTree, const TQString& highlightKey);
};
};
#endif