diff options
author | Your Name <you@example.com> | 2020-11-07 09:30:53 -0500 |
---|---|---|
committer | Your Name <you@example.com> | 2020-11-07 09:30:53 -0500 |
commit | 89a449c2ab9d736c1f03c78b745e814424e01360 (patch) | |
tree | 25c4d03bd39a5ddbe1b7f28713e82bf174a29216 /sword.h | |
download | biblereader-89a449c2ab9d736c1f03c78b745e814424e01360.tar.gz biblereader-89a449c2ab9d736c1f03c78b745e814424e01360.tar.bz2 biblereader-89a449c2ab9d736c1f03c78b745e814424e01360.zip |
Initial commit
Diffstat (limited to 'sword.h')
-rw-r--r-- | sword.h | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -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 defaultMod; + +}; + +struct config { + int chapter; + std::string book; + std::string bookFull; + int maxChapter; + std::string version; +}; |