X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/2b01c9f24cb80551eb7ba65ca63d3ac92a68dec7..6d9fc1e5b07f3ae3c459b1b9f5fb3530a7cf5625:/ResourceTable.h?ds=inline diff --git a/ResourceTable.h b/ResourceTable.h index 734c541..8123bb3 100644 --- a/ResourceTable.h +++ b/ResourceTable.h @@ -124,6 +124,11 @@ public: const String16& type, const String16& name) const; + bool hasBagOrEntry(const String16& package, + const String16& type, + const String16& name, + const ResTable_config& config) const; + bool hasBagOrEntry(const String16& ref, const String16* defType = NULL, const String16* defPackage = NULL); @@ -544,19 +549,4 @@ private: map > mLocalizations; }; -class ResourceFilter -{ -public: - ResourceFilter() : mData(), mContainsPseudo(false) {} - status_t parse(const char* arg); - bool match(int axis, uint32_t value) const; - bool match(const ResTable_config& config) const; - inline bool containsPseudo() const { return mContainsPseudo; } - -private: - KeyedVector > mData; - bool mContainsPseudo; -}; - - #endif