diff options
Diffstat (limited to 'tools/aapt2/java/AnnotationProcessor.h')
-rw-r--r-- | tools/aapt2/java/AnnotationProcessor.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/aapt2/java/AnnotationProcessor.h b/tools/aapt2/java/AnnotationProcessor.h index a7bf73f50de5..ae7bdb0c3ae2 100644 --- a/tools/aapt2/java/AnnotationProcessor.h +++ b/tools/aapt2/java/AnnotationProcessor.h @@ -22,6 +22,8 @@ #include "androidfw/StringPiece.h" +#include "text/Printer.h" + namespace aapt { // Builds a JavaDoc comment from a set of XML comments. @@ -61,8 +63,8 @@ class AnnotationProcessor { void AppendNewLine(); - // Writes the comments and annotations to the stream, with the given prefix before each line. - void WriteToStream(const android::StringPiece& prefix, std::ostream* out) const; + // Writes the comments and annotations to the Printer. + void Print(text::Printer* printer) const; private: std::stringstream comment_; |