diff options
author | Kenny Root <kroot@google.com> | 2010-07-19 10:31:34 -0700 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2010-08-11 11:24:41 -0700 |
commit | 6e7ac5f0bceddf51947fbf3b376e278df0735603 (patch) | |
tree | 36772b5b1e134baddbc24b73bb59ee701c3acc58 /include/utils/ObbFile.h | |
parent | a02b8b05dd1e8b8cf169e1f89542ef835b11fc13 (diff) | |
download | frameworks_base-6e7ac5f0bceddf51947fbf3b376e278df0735603.zip frameworks_base-6e7ac5f0bceddf51947fbf3b376e278df0735603.tar.gz frameworks_base-6e7ac5f0bceddf51947fbf3b376e278df0735603.tar.bz2 |
Initial tool for OBB manipulation
Add "obbtool" host command for adding, removing, and querying Opaque
Binary Blob (OBB) information from a file.
Change-Id: Id2ac41e687ad2a500c362616d6738a8ae7e8f5c3
Diffstat (limited to 'include/utils/ObbFile.h')
-rw-r--r-- | include/utils/ObbFile.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/utils/ObbFile.h b/include/utils/ObbFile.h index 075927c..d2ca82e 100644 --- a/include/utils/ObbFile.h +++ b/include/utils/ObbFile.h @@ -35,6 +35,8 @@ public: bool readFrom(int fd); bool writeTo(const char* filename); bool writeTo(int fd); + bool removeFrom(const char* filename); + bool removeFrom(int fd); const char* getFileName() const { return mFileName; @@ -78,6 +80,8 @@ private: size_t mFileSize; + size_t mFooterStart; + unsigned char* mReadBuf; bool parseObbFile(int fd); |