summaryrefslogtreecommitdiff
path: root/src/backend/bookshelfmodel/distributionitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/bookshelfmodel/distributionitem.cpp')
-rw-r--r--src/backend/bookshelfmodel/distributionitem.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/backend/bookshelfmodel/distributionitem.cpp b/src/backend/bookshelfmodel/distributionitem.cpp
new file mode 100644
index 0000000..411e236
--- /dev/null
+++ b/src/backend/bookshelfmodel/distributionitem.cpp
@@ -0,0 +1,23 @@
+/*********
+*
+* In the name of the Father, and of the Son, and of the Holy Spirit.
+*
+* This file is part of BibleTime's source code, http://www.bibletime.info/.
+*
+* Copyright 1999-2009 by the BibleTime developers.
+* The BibleTime source code is licensed under the GNU General Public License
+* version 2.0.
+*
+**********/
+
+#include "backend/bookshelfmodel/distributionitem.h"
+
+namespace BookshelfModel {
+
+DistributionItem::DistributionItem(CSwordModuleInfo *module)
+ : Item(ITEM_DISTRIBUTION)
+{
+ m_distribution = module->config(CSwordModuleInfo::DistributionSource);
+}
+
+} // namespace BookshelfModel