aboutsummaryrefslogtreecommitdiff
path: root/src/lib/libbible.h
diff options
context:
space:
mode:
authorYour Name <you@example.com>2022-04-18 12:02:48 -0400
committerYour Name <you@example.com>2022-04-18 12:02:48 -0400
commitddc05ee8fa60ec240d09d1d71a08f9521a1bd8b2 (patch)
treec54d4ffa92cb171ba23a81b2d9d4c6b5e3b41dd4 /src/lib/libbible.h
parentf843d4e1af82ac7485e8e9428e7411d88d39450e (diff)
downloadlibbible-ddc05ee8fa60ec240d09d1d71a08f9521a1bd8b2.tar.gz
libbible-ddc05ee8fa60ec240d09d1d71a08f9521a1bd8b2.tar.bz2
libbible-ddc05ee8fa60ec240d09d1d71a08f9521a1bd8b2.zip
Speed gains when working with multiple modulesv1.0.4
Diffstat (limited to 'src/lib/libbible.h')
-rw-r--r--src/lib/libbible.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/libbible.h b/src/lib/libbible.h
index f77dc8c..fda4d20 100644
--- a/src/lib/libbible.h
+++ b/src/lib/libbible.h
@@ -27,6 +27,17 @@ namespace libbible {
* @return Map of modName to supported books
*/
std::map<std::string, std::vector<std::string>> getModules(void);
+
+ /*
+ * @return List of module names
+ */
+ std::vector<std::string> getModuleNames(void);
+
+ /*
+ * @param modName the for which to get the books
+ * @return Vector of books in the module
+ */
+ std::vector<std::string> getBooks(std::string modName);
/*
* @return Vector of valid single full-chapter passages for a book