summaryrefslogtreecommitdiffstats
path: root/tools/aapt2/StringPool.h
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2015-04-10 19:43:55 -0700
committerAdam Lesinski <adamlesinski@google.com>2015-04-15 19:56:59 -0700
commit769de98f2dd41bfe39a1c9f76aefd1ad58942733 (patch)
tree3d79143b08f02dfb61158689f51e01eeb1bb371e /tools/aapt2/StringPool.h
parent9310e4285b3fc951c3524d040726d1161015562c (diff)
downloadframeworks_base-769de98f2dd41bfe39a1c9f76aefd1ad58942733.zip
frameworks_base-769de98f2dd41bfe39a1c9f76aefd1ad58942733.tar.gz
frameworks_base-769de98f2dd41bfe39a1c9f76aefd1ad58942733.tar.bz2
AAPT2: Add library support
Change-Id: I307f56d9631784ab29ee4156d94886f9b2f25b30
Diffstat (limited to 'tools/aapt2/StringPool.h')
-rw-r--r--tools/aapt2/StringPool.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/aapt2/StringPool.h b/tools/aapt2/StringPool.h
index 2aa5b65..64772a4 100644
--- a/tools/aapt2/StringPool.h
+++ b/tools/aapt2/StringPool.h
@@ -158,6 +158,12 @@ public:
StyleRef makeRef(const StyleString& str, const Context& context);
/**
+ * Adds a style from another string pool. Returns a reference to the
+ * style in the string pool.
+ */
+ StyleRef makeRef(const StyleRef& ref);
+
+ /**
* Moves pool into this one without coalescing strings. When this
* function returns, pool will be empty.
*/