diff options
author | Your Name <you@example.com> | 2022-02-19 10:54:35 -0500 |
---|---|---|
committer | Your Name <you@example.com> | 2022-02-19 10:54:35 -0500 |
commit | 4f26d55e01f9424ba5660cb27076eafba4c88b21 (patch) | |
tree | 41131c34e6610cd1b3c52b2b771ef550134a725d /src/sword.h | |
parent | a5cdc506789ac6aeb6f4256b892fedf046fff06c (diff) | |
download | biblereader-4f26d55e01f9424ba5660cb27076eafba4c88b21.tar.gz biblereader-4f26d55e01f9424ba5660cb27076eafba4c88b21.tar.bz2 biblereader-4f26d55e01f9424ba5660cb27076eafba4c88b21.zip |
Reorganized sources
Diffstat (limited to 'src/sword.h')
-rw-r--r-- | src/sword.h | 29 |
1 files changed, 29 insertions, 0 deletions
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 <gtkmm.h> +#include <vector> + +using namespace::std; + +class Sword { +public: + Sword(); + virtual ~Sword(); + + std::vector<std::string> getModules(void); + std::vector<std::string> getBooks(void); + void setModule(std::string modName); + void fillBuffer(std::string ref, Glib::RefPtr<Gtk::TextBuffer> 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; +}; |