From 89a449c2ab9d736c1f03c78b745e814424e01360 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 7 Nov 2020 09:30:53 -0500 Subject: Initial commit --- readerview.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 readerview.h (limited to 'readerview.h') diff --git a/readerview.h b/readerview.h new file mode 100644 index 0000000..0ea631e --- /dev/null +++ b/readerview.h @@ -0,0 +1,32 @@ +#pragma once +#include + +class Sword; + +class ReaderView : public Gtk::Frame +{ +public: + ReaderView(); + virtual ~ReaderView(); + + void setChapter(int chapter); + int getChapter(void); + int getChapterMax(void); + void setBook(std::string book); + std::string getBook(void); + std::string getBookFull(void); + std::vector getAllBooks(void); + + void setVersion(std::string version); + std::string getVersion(void); + std::vector getAllVersions(void); + + void refresh(void); + + std::vector modsUpdated(void); + +protected: + Sword *sword; + Gtk::TextView text; + struct config *conf; +}; -- cgit v1.2.3