Add PackageReaderImpl heapOffset/Size getters

This commit is contained in:
Ingo Weinhold 2011-07-03 04:08:40 +02:00
parent 97aabbede9
commit c83c5423aa

View File

@ -38,6 +38,9 @@ public:
int PackageFileFD() const; int PackageFileFD() const;
uint64 HeapOffset() const;
uint64 HeapSize() const;
protected: protected:
// from ReaderImplBase // from ReaderImplBase
virtual status_t ReadAttributeValue(uint8 type, uint8 encoding, virtual status_t ReadAttributeValue(uint8 type, uint8 encoding,
@ -71,6 +74,20 @@ PackageReaderImpl::PackageFileFD() const
} }
inline uint64
PackageReaderImpl::HeapOffset() const
{
return fHeapOffset;
}
inline uint64
PackageReaderImpl::HeapSize() const
{
return fHeapSize;
}
} // namespace BPrivate } // namespace BPrivate
} // namespace BHPKG } // namespace BHPKG