diff options
author | Jorge Canizales <jcanizales@google.com> | 2015-05-12 22:56:04 -0700 |
---|---|---|
committer | Jorge Canizales <jcanizales@google.com> | 2015-05-15 09:56:29 -0700 |
commit | 472f0b0a6b52119698197c221958af959f95d87f (patch) | |
tree | 16612e536a98f9fedcc9a59c13c33371b8c83ab1 /src/compiler/objective_c_generator.h | |
parent | 9a065d2e2f91df6ff836771a2105d2368a72b3b8 (diff) |
Fixes generated implementation file and adjusts plugin to proto3
Still missing: retrieving prefix from file option.
Diffstat (limited to 'src/compiler/objective_c_generator.h')
-rw-r--r-- | src/compiler/objective_c_generator.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/objective_c_generator.h b/src/compiler/objective_c_generator.h index e01724a7f7..548e96fcf1 100644 --- a/src/compiler/objective_c_generator.h +++ b/src/compiler/objective_c_generator.h @@ -38,9 +38,13 @@ namespace grpc_objective_c_generator { +// Returns the content to be included in the "global_scope" insertion point of +// the generated header file. grpc::string GetHeader(const grpc::protobuf::ServiceDescriptor *service, const grpc::string prefix); +// Returns the content to be included in the "global_scope" insertion point of +// the generated implementation file. grpc::string GetSource(const grpc::protobuf::ServiceDescriptor *service, const grpc::string prefix); |