X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/1eb15b505ba1d7ea5a18363c4b7b137f2e9f6d01..17f4897dc07044aa0046ca4539c026deea382b2d:/ResourceTable.h diff --git a/ResourceTable.h b/ResourceTable.h index cfa75a7..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, @@ -425,7 +431,8 @@ public: const SourcePos& pos, const ResTable_config* config = NULL, bool doSetIndex = false, - bool overlay = false); + bool overlay = false, + bool autoAddOverlay = false); const SourcePos& getFirstPublicSourcePos() const { return *mFirstPublicSourcePos; } @@ -542,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;