OSDN Git Service

Merge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev am: 101f885826
[android-x86/frameworks-base.git] / tools / aapt / 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 #include <utils/String16.h>
10
11 namespace android {
12
13 class ResourceIdCache {
14 public:
15     static uint32_t lookup(const String16& package,
16             const String16& type,
17             const String16& name,
18             bool onlyPublic);
19
20     static uint32_t store(const String16& package,
21             const String16& type,
22             const String16& name,
23             bool onlyPublic,
24             uint32_t resId);
25
26     static void dump(void);
27 };
28
29 }
30
31 #endif