3
* This file is part of BibleTime's source code, http://www.bibletime.info/.
5
* Copyright 1999-2006 by the BibleTime developers.
6
* The BibleTime source code is licensed under the GNU General Public License version 2.0.
12
#include "cswordcommentarymoduleinfo.h"
16
CSwordCommentaryModuleInfo::CSwordCommentaryModuleInfo( sword::SWModule* module, CSwordBackend* const usedBackend)
17
: CSwordBibleModuleInfo(module, usedBackend) {}
19
CSwordCommentaryModuleInfo::~CSwordCommentaryModuleInfo() {}
21
/** No descriptions */
22
CSwordModuleInfo* CSwordCommentaryModuleInfo::clone() {
23
return new CSwordCommentaryModuleInfo(*this);
26
/** Returns true if this module may be written by the write display windows. */
27
const bool CSwordCommentaryModuleInfo::isWritable() const {
28
// qWarning(module()->getConfigEntry("ModDrv"));
29
//a module is only writable if it's a RawFiles module with writable returning true
31
if ( (std::string(module()->getConfigEntry("ModDrv")) == std::string("RawFiles")) && module()->isWritable()) {