28 #include <google/protobuf/compiler/code_generator.h> 
   29 #include <google/protobuf/io/zero_copy_stream.h> 
   34 #include "generatorbase.h" 
   36 namespace google { 
namespace protobuf {
 
   39 class GeneratorContext;
 
   42 namespace QtProtobuf {
 
   49 class MultiFileGenerator : 
public GeneratorBase
 
   53     bool Generate(const ::google::protobuf::FileDescriptor *file,
 
   54                           const std::string ¶meter,
 
   55                           ::google::protobuf::compiler::GeneratorContext *generatorContext,
 
   56                           std::string *error) 
const override;
 
   58     bool GenerateAll(
const std::vector<const ::google::protobuf::FileDescriptor *> &files,
 
   59                              const std::string ¶meter,
 
   60                              ::google::protobuf::compiler::GeneratorContext *generatorContext,
 
   61                              std::string *error) 
const override;
 
   63     std::list<const ::google::protobuf::Descriptor *> findNestedDependency(const ::google::protobuf::Descriptor *message) 
const;