Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-31 10:11:59

0001 // Protocol Buffers - Google's data interchange format
0002 // Copyright 2008 Google Inc.  All rights reserved.
0003 //
0004 // Use of this source code is governed by a BSD-style
0005 // license that can be found in the LICENSE file or at
0006 // https://developers.google.com/open-source/licenses/bsd
0007 
0008 #ifndef GOOGLE_PROTOBUF_COMPILER_OBJECTIVEC_OPTIONS_H__
0009 #define GOOGLE_PROTOBUF_COMPILER_OBJECTIVEC_OPTIONS_H__
0010 
0011 #include <string>
0012 
0013 namespace google {
0014 namespace protobuf {
0015 namespace compiler {
0016 namespace objectivec {
0017 
0018 // Generation options, documented within generator.cc.
0019 struct GenerationOptions {
0020   std::string generate_for_named_framework;
0021   std::string named_framework_to_proto_path_mappings_path;
0022   std::string runtime_import_prefix;
0023 
0024   bool headers_use_forward_declarations = false;
0025   bool strip_custom_options = true;
0026   bool generate_minimal_imports = true;
0027 
0028   // These are experiments that are not officially supported. They can change
0029   // in behavior or go away at any time.
0030   bool experimental_multi_source_generation = false;
0031   bool experimental_strip_nonfunctional_codegen = false;
0032 };
0033 
0034 }  // namespace objectivec
0035 }  // namespace compiler
0036 }  // namespace protobuf
0037 }  // namespace google
0038 
0039 #endif  // GOOGLE_PROTOBUF_COMPILER_OBJECTIVEC_OPTIONS_H__