#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; };