34 #ifndef GRPC_INTERNAL_COMPILER_OBJECTIVE_C_GENERATOR_HELPERS_H
35 #define GRPC_INTERNAL_COMPILER_OBJECTIVE_C_GENERATOR_HELPERS_H
38 #include "src/compiler/config.h"
39 #include "src/compiler/generator_helpers.h"
41 namespace grpc_objective_c_generator {
43 const grpc::string prefix =
"PBG";
45 inline grpc::string MessageHeaderName(
const grpc::protobuf::FileDescriptor *file) {
46 return grpc_generator::FileNameInUpperCamel(file) +
".pb.h";
49 inline grpc::string StubFileName(grpc::string service_name) {
50 return prefix + service_name +
"Stub";
53 inline grpc::string PrefixedName(grpc::string name) {
58 #endif // GRPC_INTERNAL_COMPILER_OBJECTIVE_C_GENERATOR_HELPERS_H