1 // Protocol Buffers - Google's data interchange format 2 // Copyright 2008 Google Inc. All rights reserved. 3 // 4 // Use of this source code is governed by a BSD-style 5 // license that can be found in the LICENSE file or at 6 // https://developers.google.com/open-source/licenses/bsd 7 8 #ifndef GOOGLE_PROTOBUF_COMPILER_OBJECTIVEC_OPTIONS_H__ 9 #define GOOGLE_PROTOBUF_COMPILER_OBJECTIVEC_OPTIONS_H__ 10 11 #include <string> 12 13 namespace google { 14 namespace protobuf { 15 namespace compiler { 16 namespace objectivec { 17 18 // Generation options, documented within generator.cc. 19 struct GenerationOptions { 20 std::string generate_for_named_framework; 21 std::string named_framework_to_proto_path_mappings_path; 22 std::string runtime_import_prefix; 23 24 bool headers_use_forward_declarations = false; 25 bool strip_custom_options = true; 26 bool generate_minimal_imports = true; 27 28 // These are experiments that are not officially supported. They can change 29 // in behavior or go away at any time. 30 bool experimental_multi_source_generation = false; 31 bool experimental_strip_nonfunctional_codegen = false; 32 }; 33 34 } // namespace objectivec 35 } // namespace compiler 36 } // namespace protobuf 37 } // namespace google 38 39 #endif // GOOGLE_PROTOBUF_COMPILER_OBJECTIVEC_OPTIONS_H__ 40