aboutsummaryrefslogtreecommitdiff
path: root/src/readerview.h
diff options
context:
space:
mode:
authorYour Name <you@example.com>2022-02-19 10:54:35 -0500
committerYour Name <you@example.com>2022-02-19 10:54:35 -0500
commit4f26d55e01f9424ba5660cb27076eafba4c88b21 (patch)
tree41131c34e6610cd1b3c52b2b771ef550134a725d /src/readerview.h
parenta5cdc506789ac6aeb6f4256b892fedf046fff06c (diff)
downloadbiblereader-4f26d55e01f9424ba5660cb27076eafba4c88b21.tar.gz
biblereader-4f26d55e01f9424ba5660cb27076eafba4c88b21.tar.bz2
biblereader-4f26d55e01f9424ba5660cb27076eafba4c88b21.zip
Reorganized sources
Diffstat (limited to 'src/readerview.h')
-rw-r--r--src/readerview.h32
1 files changed, 32 insertions, 0 deletions
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 <gtkmm.h>
+
+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<std::string> getAllBooks(void);
+
+ void setVersion(std::string version);
+ std::string getVersion(void);
+ std::vector<std::string> getAllVersions(void);
+
+ void refresh(void);
+
+ std::vector<std::string> modsUpdated(void);
+
+protected:
+ Sword *sword;
+ Gtk::TextView text;
+ struct config *conf;
+};