X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/636d3b70caa1904345685a8cdd4ae06cef7da2df..c8e46fb04e626b26511095db9e6b4fe68eb74b35:/ResourceTable.h diff --git a/ResourceTable.h b/ResourceTable.h index 60d0901..bbb8140 100644 --- a/ResourceTable.h +++ b/ResourceTable.h @@ -36,6 +36,12 @@ status_t compileXmlFile(const sp& assets, ResourceTable* table, int options = XML_COMPILE_STANDARD_RESOURCE); +status_t compileXmlFile(const sp& assets, + const sp& target, + const sp& outTarget, + ResourceTable* table, + int options = XML_COMPILE_STANDARD_RESOURCE); + status_t compileXmlFile(const sp& assets, const sp& xmlTree, const sp& target, @@ -543,9 +549,9 @@ class ResourceFilter public: ResourceFilter() : mData(), mContainsPseudo(false) {} status_t parse(const char* arg); - bool match(int axis, uint32_t value); - bool match(const ResTable_config& config); - inline bool containsPseudo() { return mContainsPseudo; } + bool match(int axis, uint32_t value) const; + bool match(const ResTable_config& config) const; + inline bool containsPseudo() const { return mContainsPseudo; } private: KeyedVector > mData;