]> git.saurik.com Git - android/aapt.git/blob - ResourceIdCache.h
am a4e10cc7: am 6080cc5f: resolved conflicts for merge of dd52dfed to jb-mr1.1-ub-dev
[android/aapt.git] / ResourceIdCache.h
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
9 namespace android {
10 class android::String16;
11
12 class ResourceIdCache {
13 public:
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