From 4f26d55e01f9424ba5660cb27076eafba4c88b21 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 19 Feb 2022 10:54:35 -0500 Subject: Reorganized sources --- src/readerview.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/readerview.h (limited to 'src/readerview.h') diff --git a/src/readerview.h b/src/readerview.h new file mode 100644 index 0000000..0ea631e --- /dev/null +++ b/src/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