summaryrefslogtreecommitdiffstats
path: root/tools/aapt2/ZipFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aapt2/ZipFile.h')
-rw-r--r--tools/aapt2/ZipFile.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/aapt2/ZipFile.h b/tools/aapt2/ZipFile.h
index 9cbd1fa..9de92dd 100644
--- a/tools/aapt2/ZipFile.h
+++ b/tools/aapt2/ZipFile.h
@@ -123,14 +123,16 @@ public:
int compressionMethod, ZipEntry** ppEntry);
/*
- * Add an entry by copying it from another zip file. If "padding" is
+ * Add an entry by copying it from another zip file. If storageName is
+ * non-NULL, the entry will be inserted with the name storageName, otherwise
+ * it will have the same name as the source entry. If "padding" is
* nonzero, the specified number of bytes will be added to the "extra"
* field in the header.
*
* If "ppEntry" is non-NULL, a pointer to the new entry will be returned.
*/
status_t add(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry,
- int padding, ZipEntry** ppEntry);
+ const char* storageName, int padding, ZipEntry** ppEntry);
/*
* Mark an entry as having been removed. It is not actually deleted