diff options
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; +}; |