diff options
Diffstat (limited to 'src/archivebase.h')
-rw-r--r-- | src/archivebase.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/archivebase.h b/src/archivebase.h index c871bb5..18591f0 100644 --- a/src/archivebase.h +++ b/src/archivebase.h | |||
@@ -9,6 +9,7 @@ | |||
9 | #define BU_ARCHIVE_BASE_H | 9 | #define BU_ARCHIVE_BASE_H |
10 | 10 | ||
11 | #include <stdint.h> | 11 | #include <stdint.h> |
12 | #include <unistd.h> | ||
12 | 13 | ||
13 | namespace Bu | 14 | namespace Bu |
14 | { | 15 | { |
@@ -19,8 +20,8 @@ namespace Bu | |||
19 | virtual ~ArchiveBase(); | 20 | virtual ~ArchiveBase(); |
20 | 21 | ||
21 | virtual void close()=0; | 22 | virtual void close()=0; |
22 | virtual void write( const void *pData, int32_t iLength )=0; | 23 | virtual void write( const void *pData, size_t iLength )=0; |
23 | virtual void read( void *pData, int32_t iLength )=0; | 24 | virtual void read( void *pData, size_t iLength )=0; |
24 | virtual bool isLoading()=0; | 25 | virtual bool isLoading()=0; |
25 | }; | 26 | }; |
26 | 27 | ||