summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader/Navigation.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-reader/Navigation.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-reader/Navigation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/apps/opie-reader/Navigation.h b/noncore/apps/opie-reader/Navigation.h
index 57fb006..19d7f81 100644
--- a/noncore/apps/opie-reader/Navigation.h
+++ b/noncore/apps/opie-reader/Navigation.h
@@ -1,3 +1,4 @@
+#include <string.h>
#include <stdlib.h>
const size_t NAVIGATION_HISTORY_SIZE = 32;
@@ -9,6 +10,7 @@ class CNavigation
public:
CNavigation() : historystart(0),historyend(0),historycurrent(0) {}
void saveposn(size_t posn);
+ void writeposn(size_t posn);
bool forward(size_t& loc);
bool back(size_t& loc);
void setSaveData(unsigned char*& data, unsigned short& len, unsigned char* src, unsigned short srclen);