uint32_t crc32s; allow partial checksums

This commit is contained in:
Glenn Maynard
2004-12-13 00:19:15 +00:00
parent 73e5f1092f
commit 36990c4a4c
2 changed files with 4 additions and 9 deletions
+3 -3
View File
@@ -50,7 +50,7 @@ public:
virtual int PutLine( const CString &str ) = 0;
virtual void EnableCRC32( bool on=true ) = 0;
virtual bool GetCRC32( unsigned *iRet ) = 0;
virtual bool GetCRC32( uint32_t *iRet ) = 0;
virtual int GetFileSize() const = 0;
};
@@ -84,7 +84,7 @@ public:
int PutLine( const CString &str );
void EnableCRC32( bool on=true );
bool GetCRC32( unsigned *iRet );
bool GetCRC32( uint32_t *iRet );
virtual int GetFileSize() const = 0;
virtual CString GetDisplayPath() const { return ""; }
@@ -134,7 +134,7 @@ private:
* This is only meaningful if EnableCRC32() is called at the very start of the
* file, and no seeking is performed. */
bool m_bCRC32Enabled;
unsigned m_iCRC32;
uint32_t m_iCRC32;
};
#endif