diff options
author | Your Name <you@example.com> | 2022-04-21 10:51:07 -0400 |
---|---|---|
committer | Your Name <you@example.com> | 2022-04-21 10:51:07 -0400 |
commit | b96fa27adbcdedee9e0a2c788bc5604fbaaa60d8 (patch) | |
tree | 592397f5e75b086450afbe65e5dfca63bc8f16e5 /src/readerview.h | |
parent | 97f3b9c202ad675fbcc2af8f0719f3652557453b (diff) | |
download | biblereader-b96fa27adbcdedee9e0a2c788bc5604fbaaa60d8.tar.gz biblereader-b96fa27adbcdedee9e0a2c788bc5604fbaaa60d8.tar.bz2 biblereader-b96fa27adbcdedee9e0a2c788bc5604fbaaa60d8.zip |
Code simplifications
Diffstat (limited to 'src/readerview.h')
-rw-r--r-- | src/readerview.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/src/readerview.h b/src/readerview.h index 7c0436b..51fc48d 100644 --- a/src/readerview.h +++ b/src/readerview.h @@ -7,27 +7,16 @@ class ReaderView : public Gtk::Frame ReaderView(); virtual ~ReaderView(); - void setChapter(int chapter); - int getChapter(void); - int getChapterMax(void); + void setChapter(unsigned int chapter); + unsigned int getChapter(void); + unsigned int getChapterMax(void); void setBook(std::string book); std::string getBook(void); std::string getBookFull(void); std::vector<std::string> getAllBooks(void); - - std::string getVersion(void); void refresh(void); protected: Gtk::TextView text; - struct config *conf; -}; - -struct config { - int chapter; - std::string book; - std::string bookFull; - int maxChapter; - std::string version; }; |