diff options
author | 2014-09-22 19:45:27 +0000 | |
---|---|---|
committer | 2014-09-22 19:45:27 +0000 | |
commit | dc03c9f292a93806a30a3a32009ff75ff8d419cc (patch) | |
tree | ae22bc693aced61651c28f48efc1ecc520333857 /tools/aapt/XMLNode.h | |
parent | c2ece0002baf8731fedddc3f6053ef97863df497 (diff) | |
parent | 534b739118b6af4c4f27dc7a2d991f1b7d7c1e88 (diff) |
am d4e5b601: am 37e3df38: am 1aa4db07: am 81745c51: Merge "AAPT: Continuation of public/private attribute fix" into lmp-dev
* commit 'd4e5b601c7da5c662d8cf9c46177810fdeeed23f':
AAPT: Continuation of public/private attribute fix
Diffstat (limited to 'tools/aapt/XMLNode.h')
-rw-r--r-- | tools/aapt/XMLNode.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/aapt/XMLNode.h b/tools/aapt/XMLNode.h index ccbf9f403116..3161f6500291 100644 --- a/tools/aapt/XMLNode.h +++ b/tools/aapt/XMLNode.h @@ -116,6 +116,8 @@ public: status_t addAttribute(const String16& ns, const String16& name, const String16& value); + status_t removeAttribute(size_t index); + void setAttributeResID(size_t attrIdx, uint32_t resId); status_t appendChars(const String16& chars); @@ -137,6 +139,8 @@ public: status_t flatten(const sp<AaptFile>& dest, bool stripComments, bool stripRawValues) const; + sp<XMLNode> clone() const; + void print(int indent=0); private: @@ -163,6 +167,9 @@ private: static void XMLCALL commentData(void *userData, const char *comment); + // For cloning + XMLNode(); + // Creating an element node. XMLNode(const String8& filename, const String16& s1, const String16& s2, bool isNamespace); |