From f1f20db42313032578ba256903d0004dd126a60a Mon Sep 17 00:00:00 2001 From: Daniel Brahneborg Date: Sun, 14 Apr 2002 12:03:02 +0000 Subject: More correct residual sis file truncation --- lib/sisfile.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'lib/sisfile.h') 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 -- cgit v1.2.3