aboutsummaryrefslogtreecommitdiff
path: root/src/readerview.h
diff options
context:
space:
mode:
authorYour Name <you@example.com>2022-04-21 10:51:07 -0400
committerYour Name <you@example.com>2022-04-21 10:51:07 -0400
commitb96fa27adbcdedee9e0a2c788bc5604fbaaa60d8 (patch)
tree592397f5e75b086450afbe65e5dfca63bc8f16e5 /src/readerview.h
parent97f3b9c202ad675fbcc2af8f0719f3652557453b (diff)
downloadbiblereader-b96fa27adbcdedee9e0a2c788bc5604fbaaa60d8.tar.gz
biblereader-b96fa27adbcdedee9e0a2c788bc5604fbaaa60d8.tar.bz2
biblereader-b96fa27adbcdedee9e0a2c788bc5604fbaaa60d8.zip
Code simplifications
Diffstat (limited to 'src/readerview.h')
-rw-r--r--src/readerview.h17
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;
};