aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sisfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisfile.h')
-rw-r--r--lib/sisfile.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/sisfile.h b/lib/sisfile.h
index d74cc1c..bb33570 100644
--- a/lib/sisfile.h
+++ b/lib/sisfile.h
@@ -74,6 +74,15 @@ public:
*/
uint8_t* getName();
+ /**
+ * Get the number of bytes that should be copied to the residual sis
+ * file on the psion.
+ */
+ uint32_t getResidualEnd()
+ {
+ return m_end;
+ }
+
void ownBuffer()
{
m_ownBuffer = true;
@@ -112,6 +121,10 @@ private:
uint8_t* m_buf;
+ uint32_t m_end;
+
+ void updateEnd(uint32_t pos);
+
};
#endif