|
|
@ -38,6 +38,8 @@ |
|
|
|
#include "src/compiler/config.h" |
|
|
|
#include "src/compiler/config.h" |
|
|
|
#include "src/compiler/generator_helpers.h" |
|
|
|
#include "src/compiler/generator_helpers.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <google/protobuf/compiler/objectivec/objectivec_helpers.h> |
|
|
|
|
|
|
|
|
|
|
|
namespace grpc_objective_c_generator { |
|
|
|
namespace grpc_objective_c_generator { |
|
|
|
|
|
|
|
|
|
|
|
using ::grpc::protobuf::FileDescriptor; |
|
|
|
using ::grpc::protobuf::FileDescriptor; |
|
|
@ -45,7 +47,7 @@ using ::grpc::protobuf::ServiceDescriptor; |
|
|
|
using ::grpc::string; |
|
|
|
using ::grpc::string; |
|
|
|
|
|
|
|
|
|
|
|
inline string MessageHeaderName(const FileDescriptor *file) { |
|
|
|
inline string MessageHeaderName(const FileDescriptor *file) { |
|
|
|
return grpc_generator::FileNameInUpperCamel(file) + ".pbobjc.h"; |
|
|
|
return google::protobuf::compiler::objectivec::FilePath(file) + ".pbobjc.h"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
inline string ServiceClassName(const ServiceDescriptor *service) { |
|
|
|
inline string ServiceClassName(const ServiceDescriptor *service) { |
|
|
|