62 #ifndef GOOGLE_PROTOBUF_COMPILER_PLUGIN_H__
63 #define GOOGLE_PROTOBUF_COMPILER_PLUGIN_H__
67 #include <google/protobuf/port_def.inc>
74 class CodeGeneratorRequest;
75 class CodeGeneratorResponse;
78 PROTOC_EXPORT
int PluginMain(
int argc,
char* argv[],
79 const CodeGenerator* generator);
85 const CodeGenerator& generator,
86 CodeGeneratorResponse* response,
std::string* error_msg);
92 #include <google/protobuf/port_undef.inc>
94 #endif // GOOGLE_PROTOBUF_COMPILER_PLUGIN_H__