]> git.saurik.com Git - android/aapt.git/blame - ResourceIdCache.h
am 816fd074: (-s ours) am afa4d8bf: (-s ours) am 22d7cf23: Add single crunch command...
[android/aapt.git] / ResourceIdCache.h
CommitLineData
951317fb
CT
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