diff options
author | Adam Lesinski <adamlesinski@google.com> | 2016-03-11 09:16:43 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2016-03-11 09:16:44 +0000 |
commit | 330c57dbd19a064d1f5a4adb3c8ed014711b473f (patch) | |
tree | 9a795b0dbeae55273f3f3f35d842574f51102c6d /tools/aapt2/java/JavaClassGenerator.h | |
parent | 607c0a0a09e6543609f70eb27cc06ff44857252e (diff) | |
parent | 7656554f91b40bc93bf94c89afcad4a9a8ced884 (diff) |
Merge "AAPT2: Add descriptions of Attributes in Styleables for R.java" into nyc-dev
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.h')
-rw-r--r-- | tools/aapt2/java/JavaClassGenerator.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/aapt2/java/JavaClassGenerator.h b/tools/aapt2/java/JavaClassGenerator.h index 023d6d635f8c..7e46f8c9043c 100644 --- a/tools/aapt2/java/JavaClassGenerator.h +++ b/tools/aapt2/java/JavaClassGenerator.h @@ -19,7 +19,7 @@ #include "ResourceTable.h" #include "ResourceValues.h" - +#include "process/IResourceTableConsumer.h" #include "util/StringPiece.h" #include <ostream> @@ -51,7 +51,8 @@ struct JavaClassGeneratorOptions { */ class JavaClassGenerator { public: - JavaClassGenerator(ResourceTable* table, JavaClassGeneratorOptions options); + JavaClassGenerator(IAaptContext* context, ResourceTable* table, + const JavaClassGeneratorOptions& options); /* * Writes the R.java file to `out`. Only symbols belonging to `package` are written. @@ -82,6 +83,7 @@ private: bool skipSymbol(SymbolState state); + IAaptContext* mContext; ResourceTable* mTable; JavaClassGeneratorOptions mOptions; std::string mError; |