]> git.saurik.com Git - android/aapt.git/blobdiff - XMLNode.h
Change an aapt "warning" from "*** " to "**** " (from three to four stars).
[android/aapt.git] / XMLNode.h
index a9bea4312eccd0bd2e30bb0c3c562fb743bb8cb6..e9a263bf41d8e0c3516fd826b3d3db74a1ae923a 100644 (file)
--- a/XMLNode.h
+++ b/XMLNode.h
@@ -95,6 +95,8 @@ public:
 
     const attribute_entry* getAttribute(const String16& ns, const String16& name) const;
     
+    attribute_entry* editAttribute(const String16& ns, const String16& name);
+
     const String16& getCData() const;
 
     const String16& getComment() const;
@@ -124,6 +126,8 @@ public:
 
     void removeWhitespace(bool stripAll=true, const char** cDataTags=NULL);
 
+    void setUTF8(bool val) { mUTF8 = val; }
+
     status_t parseValues(const sp<AaptAssets>& assets, ResourceTable* table);
 
     status_t assignResourceIds(const sp<AaptAssets>& assets,
@@ -189,6 +193,9 @@ private:
     String8 mFilename;
     int32_t mStartLineNumber;
     int32_t mEndLineNumber;
+
+    // Encode compiled XML with UTF-8 StringPools?
+    bool mUTF8;
 };
 
 #endif