diff options
author | Adam Lesinski <adamlesinski@google.com> | 2016-03-10 21:55:04 -0800 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2016-03-11 00:22:52 -0800 |
commit | 7656554f91b40bc93bf94c89afcad4a9a8ced884 (patch) | |
tree | 76a275c869513d419dc85ee2b7f946688043e3d9 /tools/aapt2/java/JavaClassGenerator.h | |
parent | 5b37ef489a4090da3643041c8d0e6efa282ad8b6 (diff) |
AAPT2: Add descriptions of Attributes in Styleables for R.java
Change-Id: I69e7b73cbdfe4baf502348397435c501ae29ff5e
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; |