diff options
Diffstat (limited to 'src/backend/managers/cswordbackend.h')
-rw-r--r-- | src/backend/managers/cswordbackend.h | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/src/backend/managers/cswordbackend.h b/src/backend/managers/cswordbackend.h index 9169c33..3120694 100644 --- a/src/backend/managers/cswordbackend.h +++ b/src/backend/managers/cswordbackend.h @@ -10,17 +10,14 @@ #ifndef CSWORDBACKEND_H #define CSWORDBACKEND_H -//BibleTime includes -#include "backend/drivers/cswordmoduleinfo.h" -#include "backend/bookshelfmodel/btbookshelfmodel.h" - -//Qt includes -#include <QObject> #include <QMap> +#include <QObject> #include <QString> #include <QStringList> +#include "backend/drivers/cswordmoduleinfo.h" +#include "backend/bookshelfmodel/btbookshelfmodel.h" -//Sword includes +// Sword includes: #include <swmgr.h> #include <swbuf.h> #include <swmodule.h> @@ -28,7 +25,6 @@ #include <localemgr.h> #include <utilstr.h> -//forward declarations namespace Rendering { class CEntryDisplay; class CChapterDisplay; @@ -43,7 +39,6 @@ class CBookDisplay; * @author The BibleTime team * @version $Id: cswordbackend.h,v 1.58 2007/03/14 21:32:47 joachim Exp $ */ - class CSwordBackend : public QObject, public sword::SWMgr { Q_OBJECT public: @@ -219,12 +214,7 @@ class CSwordBackend : public QObject, public sword::SWMgr { /** Sword prefix list. * @return A list of all known Sword prefix dirs */ - const QStringList swordDirList(); - - /** Emits the sigSwordSetupChanged signal. - * This can be called directly from outside if there is no need to reload the backend. - */ - void notifyChange(SetupChangedReason reason); + QStringList swordDirList() const; signals: void sigSwordSetupChanged(CSwordBackend::SetupChangedReason reason); @@ -240,6 +230,10 @@ class CSwordBackend : public QObject, public sword::SWMgr { */ void filterInit(); + QStringList getSharedSwordConfigFiles() const; + QString getPrivateSwordConfigPath() const; + QString getPrivateSwordConfigFile() const; + private: // Filters struct Filters { @@ -247,6 +241,7 @@ class CSwordBackend : public QObject, public sword::SWMgr { sword::SWFilter* plain; sword::SWFilter* thml; sword::SWFilter* osis; + sword::SWFilter* tei; } m_filters; struct Displays { |