blob: 65f77818b05531781e27d77e3ed607d0d92246b9 [file] [log] [blame]
Christopher Tated8dde13a2012-11-16 15:58:08 -08001//
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