Index: third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_file.h |
diff --git a/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_file.h b/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_file.h |
index a60a6885c01d4304bab9391cce2f0b1378eb3804..4c0fcd3f4151174456ef487a04c43bc53043559f 100644 |
--- a/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_file.h |
+++ b/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_file.h |
@@ -62,19 +62,31 @@ class FileGenerator { |
void GenerateHeader(io::Printer* printer); |
const string& RootClassName() const { return root_class_name_; } |
+ const string Path() const; |
+ |
+ bool IsPublicDependency() const { return is_public_dep_; } |
+ |
+ protected: |
+ void SetIsPublicDependency(bool is_public_dep) { |
+ is_public_dep_ = is_public_dep; |
+ } |
private: |
const FileDescriptor* file_; |
string root_class_name_; |
+ // Access this field through the DependencyGenerators accessor call below. |
+ // Do not reference it directly. |
+ vector<FileGenerator*> dependency_generators_; |
+ |
vector<EnumGenerator*> enum_generators_; |
vector<MessageGenerator*> message_generators_; |
vector<ExtensionGenerator*> extension_generators_; |
+ bool is_public_dep_; |
const Options options_; |
- void PrintFileRuntimePreamble( |
- io::Printer* printer, const string& header_to_import) const; |
+ const vector<FileGenerator*>& DependencyGenerators(); |
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FileGenerator); |
}; |