blob: 4816905572c9b034d4ec22dd9b0e32e0ac8081df [file] [log] [blame]
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001//
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 Gaskin8a39da82011-06-06 17:00:35 -070011#include "Bundle.h"
12
13#include <utils/String8.h>
14#include <utils/RefBase.h>
15
16using android::String8;
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080017
18status_t preProcessImage(Bundle* bundle, const sp<AaptAssets>& assets,
19 const sp<AaptFile>& file, String8* outNewLeafName);
20
Josiah Gaskin8a39da82011-06-06 17:00:35 -070021status_t preProcessImageToCache(Bundle* bundle, String8 source, String8 dest);
22
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080023status_t postProcessImage(const sp<AaptAssets>& assets,
Josiah Gaskin8a39da82011-06-06 17:00:35 -070024 ResourceTable* table, const sp<AaptFile>& file);
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080025
26#endif