summaryrefslogtreecommitdiff
path: root/tools/aapt/ResourceIdCache.h
diff options
context:
space:
mode:
author Adam Lesinski <adamlesinski@google.com> 2014-01-23 18:17:42 -0800
committer Adam Lesinski <adamlesinski@google.com> 2014-01-27 10:31:04 -0800
commit282e181b58cf72b6ca770dc7ca5f91f135444502 (patch)
treee313e7ab30ff4679562efa37bde29cfcb9e375d3 /tools/aapt/ResourceIdCache.h
parent7023df08f14ec5dee76ac54c03e870f84e297636 (diff)
Revert "Move frameworks/base/tools/ to frameworks/tools/"
This reverts commit 9f6a119c8aa276432ece4fe2118bd8a3c9b1067e.
Diffstat (limited to 'tools/aapt/ResourceIdCache.h')
-rw-r--r--tools/aapt/ResourceIdCache.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/tools/aapt/ResourceIdCache.h b/tools/aapt/ResourceIdCache.h
new file mode 100644
index 000000000000..65f77818b055
--- /dev/null
+++ b/tools/aapt/ResourceIdCache.h
@@ -0,0 +1,30 @@
+//
+// Copyright 2012 The Android Open Source Project
+//
+// Manage a resource ID cache.
+
+#ifndef RESOURCE_ID_CACHE_H
+#define RESOURCE_ID_CACHE_H
+
+namespace android {
+class android::String16;
+
+class ResourceIdCache {
+public:
+ static uint32_t lookup(const android::String16& package,
+ const android::String16& type,
+ const android::String16& name,
+ bool onlyPublic);
+
+ static uint32_t store(const android::String16& package,
+ const android::String16& type,
+ const android::String16& name,
+ bool onlyPublic,
+ uint32_t resId);
+
+ static void dump(void);
+};
+
+}
+
+#endif