/* * * Copyright 2019 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ #ifndef SRC_COMPILER_CONFIG_PROTOBUF_H #define SRC_COMPILER_CONFIG_PROTOBUF_H #include #ifndef GRPC_CUSTOM_CODEGENERATOR #include #define GRPC_CUSTOM_CODEGENERATOR ::google::protobuf::compiler::CodeGenerator #define GRPC_CUSTOM_GENERATORCONTEXT \ ::google::protobuf::compiler::GeneratorContext #endif #ifndef GRPC_CUSTOM_PRINTER #include #include #include #define GRPC_CUSTOM_PRINTER ::google::protobuf::io::Printer #define GRPC_CUSTOM_CODEDOUTPUTSTREAM ::google::protobuf::io::CodedOutputStream #define GRPC_CUSTOM_STRINGOUTPUTSTREAM \ ::google::protobuf::io::StringOutputStream #endif #ifndef GRPC_CUSTOM_PLUGINMAIN #include #define GRPC_CUSTOM_PLUGINMAIN ::google::protobuf::compiler::PluginMain #endif #ifndef GRPC_CUSTOM_PARSEGENERATORPARAMETER #include #define GRPC_CUSTOM_PARSEGENERATORPARAMETER \ ::google::protobuf::compiler::ParseGeneratorParameter #endif #endif // SRC_COMPILER_CONFIG_PROTOBUF_H