mirror of
https://gitee.com/TarsCloud/TarsCpp.git
synced 2025-01-05 17:42:24 +08:00
24 lines
451 B
C++
24 lines
451 B
C++
// Generates C++ tars service interface out of Protobuf IDL.
|
|
//
|
|
// This is a Proto2 compiler plugin. See net/proto2/compiler/proto/plugin.proto
|
|
// and net/proto2/compiler/public/plugin.h for more information on plugins.
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include "CppPbUtils.h"
|
|
|
|
namespace google
|
|
{
|
|
|
|
namespace protobuf
|
|
{
|
|
class ServiceDescriptor;
|
|
}
|
|
|
|
}
|
|
|
|
// gen proxy
|
|
std::string GenPrx(const ::google::protobuf::ServiceDescriptor* desc, int indent);
|
|
|