BPackageDataReader: Remove unused Size(), BlockSize()

This commit is contained in:
Ingo Weinhold 2013-05-13 02:46:37 +02:00
parent dd0b33cb63
commit b5786b0f68
4 changed files with 0 additions and 48 deletions

View File

@ -31,9 +31,6 @@ public:
virtual status_t ReadDataToOutput(off_t offset, size_t size,
BDataOutput* output) = 0;
virtual uint64 Size() const = 0;
virtual size_t BlockSize() const = 0;
protected:
BDataReader* fDataReader;
};

View File

@ -36,9 +36,6 @@ public:
virtual status_t ReadDataToOutput(off_t offset, size_t size,
BDataOutput* output) = 0;
virtual uint64 Size() const = 0;
virtual size_t BlockSize() const = 0;
protected:
BDataReader* fDataReader;
};

View File

@ -81,17 +81,6 @@ public:
return B_OK;
}
virtual uint64 Size() const
{
return fSize;
}
virtual size_t BlockSize() const
{
// TODO: Some other value?
return 64 * 1024;
}
virtual status_t ReadData(off_t offset, void* buffer, size_t size)
{
if (size == 0)
@ -213,16 +202,6 @@ public:
return B_OK;
}
virtual uint64 Size() const
{
return fUncompressedSize;
}
virtual size_t BlockSize() const
{
return fChunkSize;
}
virtual status_t ReadDataToOutput(off_t offset, size_t size,
BDataOutput* output)
{

View File

@ -84,17 +84,6 @@ public:
return B_OK;
}
virtual uint64 Size() const
{
return fSize;
}
virtual size_t BlockSize() const
{
// TODO: Some other value?
return 64 * 1024;
}
virtual status_t ReadData(off_t offset, void* buffer, size_t size)
{
if (size == 0)
@ -216,16 +205,6 @@ public:
return B_OK;
}
virtual uint64 Size() const
{
return fUncompressedSize;
}
virtual size_t BlockSize() const
{
return fChunkSize;
}
virtual status_t ReadDataToOutput(off_t offset, size_t size,
BDataOutput* output)
{