diff options
author | Jie Luo <jieluo@google.com> | 2015-06-03 18:02:17 -0700 |
---|---|---|
committer | Jie Luo <jieluo@google.com> | 2015-06-04 11:39:13 -0700 |
commit | 90da3514cdc372b8221a32f9fc97da0d4e047e92 (patch) | |
tree | 4c77411dbd3cd0fae2121a0284287267d2ef244a /src/google/protobuf/compiler/csharp/csharp_umbrella_class.h | |
parent | a21a2cf7d39648fa8fe7e98789d0590e336a471f (diff) | |
download | protobuf-90da3514cdc372b8221a32f9fc97da0d4e047e92.tar.gz protobuf-90da3514cdc372b8221a32f9fc97da0d4e047e92.tar.bz2 protobuf-90da3514cdc372b8221a32f9fc97da0d4e047e92.zip |
Migrate writer to io::Printer for C#
Diffstat (limited to 'src/google/protobuf/compiler/csharp/csharp_umbrella_class.h')
-rw-r--r-- | src/google/protobuf/compiler/csharp/csharp_umbrella_class.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/google/protobuf/compiler/csharp/csharp_umbrella_class.h b/src/google/protobuf/compiler/csharp/csharp_umbrella_class.h index 757f8f91..83e1f347 100644 --- a/src/google/protobuf/compiler/csharp/csharp_umbrella_class.h +++ b/src/google/protobuf/compiler/csharp/csharp_umbrella_class.h @@ -48,7 +48,7 @@ class UmbrellaClassGenerator : public SourceGeneratorBase { UmbrellaClassGenerator(const FileDescriptor* file); ~UmbrellaClassGenerator(); - void Generate(Writer* write); + void Generate(io::Printer* printer); private: const FileDescriptor* file_; @@ -57,10 +57,10 @@ class UmbrellaClassGenerator : public SourceGeneratorBase { std::string umbrellaClassname_; std::string umbrellaNamespace_; - void WriteIntroduction(Writer* writer); - void WriteExtensionRegistration(Writer* writer); - void WriteDescriptor(Writer* writer); - void WriteLiteExtensions(Writer* write); + void WriteIntroduction(io::Printer* printer); + void WriteExtensionRegistration(io::Printer* printer); + void WriteDescriptor(io::Printer* printer); + void WriteLiteExtensions(io::Printer* printer); bool uses_extensions(); |