aboutsummaryrefslogtreecommitdiff
path: root/src/readerview.h
diff options
context:
space:
mode:
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;
};