From 89a449c2ab9d736c1f03c78b745e814424e01360 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 7 Nov 2020 09:30:53 -0500 Subject: Initial commit --- sword.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 sword.h (limited to 'sword.h') diff --git a/sword.h b/sword.h new file mode 100644 index 0000000..aa52c13 --- /dev/null +++ b/sword.h @@ -0,0 +1,29 @@ +#pragma once +#include +#include + +using namespace::std; + +class Sword { +public: + Sword(); + virtual ~Sword(); + + std::vector getModules(void); + std::vector getBooks(void); + void setModule(std::string modName); + void fillBuffer(std::string ref, Glib::RefPtr buf); + void getConfig(std::string book, int chapter, struct config *conf); + +protected: + std::string defaultMod; + +}; + +struct config { + int chapter; + std::string book; + std::string bookFull; + int maxChapter; + std::string version; +}; -- cgit v1.2.3