Adam Lesinski | 282e181 | 2014-01-23 18:17:42 -0800 | [diff] [blame] | 1 | // |
| 2 | // Copyright 2006 The Android Open Source Project |
| 3 | // |
| 4 | // Build resource files from raw assets. |
| 5 | // |
| 6 | |
| 7 | #ifndef IMAGES_H |
| 8 | #define IMAGES_H |
| 9 | |
| 10 | #include "ResourceTable.h" |
| 11 | #include "Bundle.h" |
| 12 | |
| 13 | #include <utils/String8.h> |
| 14 | #include <utils/RefBase.h> |
| 15 | |
| 16 | using android::String8; |
| 17 | |
| 18 | status_t preProcessImage(const Bundle* bundle, const sp<AaptAssets>& assets, |
| 19 | const sp<AaptFile>& file, String8* outNewLeafName); |
| 20 | |
| 21 | status_t preProcessImageToCache(const Bundle* bundle, const String8& source, const String8& dest); |
| 22 | |
Adam Lesinski | e572c01 | 2014-09-19 15:10:04 -0700 | [diff] [blame] | 23 | status_t postProcessImage(const Bundle* bundle, const sp<AaptAssets>& assets, |
Adam Lesinski | 282e181 | 2014-01-23 18:17:42 -0800 | [diff] [blame] | 24 | ResourceTable* table, const sp<AaptFile>& file); |
| 25 | |
| 26 | #endif |