The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -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" |
Josiah Gaskin | 8a39da8 | 2011-06-06 17:00:35 -0700 | [diff] [blame] | 11 | #include "Bundle.h" |
| 12 | |
| 13 | #include <utils/String8.h> |
| 14 | #include <utils/RefBase.h> |
| 15 | |
| 16 | using android::String8; |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 17 | |
Jeff Brown | c0f7366 | 2012-03-16 22:17:41 -0700 | [diff] [blame] | 18 | status_t preProcessImage(const Bundle* bundle, const sp<AaptAssets>& assets, |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 19 | const sp<AaptFile>& file, String8* outNewLeafName); |
| 20 | |
Jeff Brown | c0f7366 | 2012-03-16 22:17:41 -0700 | [diff] [blame] | 21 | status_t preProcessImageToCache(const Bundle* bundle, const String8& source, const String8& dest); |
Josiah Gaskin | 8a39da8 | 2011-06-06 17:00:35 -0700 | [diff] [blame] | 22 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 23 | status_t postProcessImage(const sp<AaptAssets>& assets, |
Josiah Gaskin | 8a39da8 | 2011-06-06 17:00:35 -0700 | [diff] [blame] | 24 | ResourceTable* table, const sp<AaptFile>& file); |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 25 | |
| 26 | #endif |