]> git.saurik.com Git - android/aapt.git/blame_incremental - ResourceIdCache.h
Fix the single crunch command to return the right error code.
[android/aapt.git] / ResourceIdCache.h
... / ...
CommitLineData
1//
2// Copyright 2012 The Android Open Source Project
3//
4// Manage a resource ID cache.
5
6#ifndef RESOURCE_ID_CACHE_H
7#define RESOURCE_ID_CACHE_H
8
9namespace android {
10class android::String16;
11
12class ResourceIdCache {
13public:
14 static uint32_t lookup(const android::String16& package,
15 const android::String16& type,
16 const android::String16& name,
17 bool onlyPublic);
18
19 static uint32_t store(const android::String16& package,
20 const android::String16& type,
21 const android::String16& name,
22 bool onlyPublic,
23 uint32_t resId);
24
25 static void dump(void);
26};
27
28}
29
30#endif