CppGenCallback.h 467 B

123456789101112131415161718192021222324
  1. // Generates C++ tars service interface out of Protobuf IDL.
  2. //
  3. // This is a Proto2 compiler plugin. See net/proto2/compiler/proto/plugin.proto
  4. // and net/proto2/compiler/public/plugin.h for more information on plugins.
  5. #pragma once
  6. #include <string>
  7. #include "CppPbUtils.h"
  8. namespace google
  9. {
  10. namespace protobuf
  11. {
  12. class ServiceDescriptor;
  13. }
  14. }
  15. // gen prx callback
  16. std::string GenPrxCallback(const ::google::protobuf::ServiceDescriptor* desc, int indent);