~ubuntu-branches/ubuntu/trusty/protobuf/trusty-proposed

« back to all changes in this revision

Viewing changes to src/google/protobuf/compiler/command_line_interface.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2011-05-31 14:41:47 UTC
  • mfrom: (2.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20110531144147-s41g5fozgvyo462l
Tags: 2.4.0a-2ubuntu1
* Merge with Debian; remaining changes:
  - Fix linking with -lpthread.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
namespace compiler {
57
57
 
58
58
class CodeGenerator;        // code_generator.h
59
 
class OutputDirectory;      // code_generator.h
 
59
class GeneratorContext;      // code_generator.h
60
60
class DiskSourceTree;       // importer.h
61
61
 
62
62
// This class implements the command-line interface to the protocol compiler.
174
174
  // -----------------------------------------------------------------
175
175
 
176
176
  class ErrorPrinter;
177
 
  class MemoryOutputDirectory;
 
177
  class GeneratorContextImpl;
178
178
  class MemoryOutputStream;
179
179
 
180
180
  // Clear state from previous Run().
212
212
  struct OutputDirective;  // see below
213
213
  bool GenerateOutput(const vector<const FileDescriptor*>& parsed_files,
214
214
                      const OutputDirective& output_directive,
215
 
                      OutputDirectory* output_directory);
 
215
                      GeneratorContext* generator_context);
216
216
  bool GeneratePluginOutput(const vector<const FileDescriptor*>& parsed_files,
217
217
                            const string& plugin_name,
218
218
                            const string& parameter,
219
 
                            OutputDirectory* output_directory,
 
219
                            GeneratorContext* generator_context,
220
220
                            string* error);
221
221
 
222
222
  // Implements --encode and --decode.