You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

23 line
479 B

  1. #include "AppMode.h"
  2. #include "reader/Typesetter.h"
  3. #include "reader/TextStorage.h"
  4. #include "reader/PagePrinter.h"
  5. class ReaderMode : public AppMode
  6. {
  7. public:
  8. virtual void start();
  9. virtual void loop();
  10. virtual void finish();
  11. private:
  12. long bookmark = 0;
  13. long bookmark_max = 0;
  14. Typesetter typesetter;
  15. PagePrinter pagePrinter;
  16. TextStorage textStorage;
  17. TextReader* textReader = NULL;
  18. Page* pageLast = NULL;
  19. Page* pageCurrent = NULL;
  20. };