diff options
author | Jorge Canizales <jcanizales@google.com> | 2015-05-26 11:53:31 -0700 |
---|---|---|
committer | Jorge Canizales <jcanizales@google.com> | 2015-06-01 01:11:05 -0700 |
commit | 52592fc78428c88c8a5f342c0ba04d5e328b7789 (patch) | |
tree | 4450aea5143d6a2fb355d6e6ac8394cd7c7c1e9d /src/compiler/objective_c_generator.h | |
parent | 2e378c89f89820941d1b30ad8c8b501fefa213b0 (diff) |
Use class names for types as generated by the messages plugin
Diffstat (limited to 'src/compiler/objective_c_generator.h')
-rw-r--r-- | src/compiler/objective_c_generator.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/compiler/objective_c_generator.h b/src/compiler/objective_c_generator.h index 548e96fcf1..40a0c87f99 100644 --- a/src/compiler/objective_c_generator.h +++ b/src/compiler/objective_c_generator.h @@ -38,15 +38,16 @@ namespace grpc_objective_c_generator { +using ::grpc::protobuf::ServiceDescriptor; +using ::grpc::string; + // 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); +string GetHeader(const ServiceDescriptor *service); // 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); +string GetSource(const ServiceDescriptor *service); } // namespace grpc_objective_c_generator |