From 4f26d55e01f9424ba5660cb27076eafba4c88b21 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 19 Feb 2022 10:54:35 -0500 Subject: Reorganized sources --- src/sword.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/sword.h (limited to 'src/sword.h') diff --git a/src/sword.h b/src/sword.h new file mode 100644 index 0000000..1cd7f61 --- /dev/null +++ b/src/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 currMod; + +}; + +struct config { + int chapter; + std::string book; + std::string bookFull; + int maxChapter; + std::string version; +}; -- cgit v1.2.3