OLD | NEW |
1 // Protocol Buffers - Google's data interchange format | 1 // Protocol Buffers - Google's data interchange format |
2 // Copyright 2008 Google Inc. All rights reserved. | 2 // Copyright 2008 Google Inc. All rights reserved. |
3 // https://developers.google.com/protocol-buffers/ | 3 // https://developers.google.com/protocol-buffers/ |
4 // | 4 // |
5 // Redistribution and use in source and binary forms, with or without | 5 // Redistribution and use in source and binary forms, with or without |
6 // modification, are permitted provided that the following conditions are | 6 // modification, are permitted provided that the following conditions are |
7 // met: | 7 // met: |
8 // | 8 // |
9 // * Redistributions of source code must retain the above copyright | 9 // * Redistributions of source code must retain the above copyright |
10 // notice, this list of conditions and the following disclaimer. | 10 // notice, this list of conditions and the following disclaimer. |
(...skipping 26 matching lines...) Expand all Loading... |
37 #import "GPBDictionary.h" | 37 #import "GPBDictionary.h" |
38 #import "GPBExtensionRegistry.h" | 38 #import "GPBExtensionRegistry.h" |
39 #import "GPBMessage.h" | 39 #import "GPBMessage.h" |
40 #import "GPBRootObject.h" | 40 #import "GPBRootObject.h" |
41 #import "GPBUnknownField.h" | 41 #import "GPBUnknownField.h" |
42 #import "GPBUnknownFieldSet.h" | 42 #import "GPBUnknownFieldSet.h" |
43 #import "GPBUtilities.h" | 43 #import "GPBUtilities.h" |
44 #import "GPBWellKnownTypes.h" | 44 #import "GPBWellKnownTypes.h" |
45 #import "GPBWireFormat.h" | 45 #import "GPBWireFormat.h" |
46 | 46 |
| 47 // This CPP symbol can be defined to use imports that match up to the framework |
| 48 // imports needed when using CocoaPods. |
| 49 #if !defined(GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS) |
| 50 #define GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 0 |
| 51 #endif |
| 52 |
47 // Well-known proto types | 53 // Well-known proto types |
48 #import "google/protobuf/Any.pbobjc.h" | 54 #if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS |
49 #import "google/protobuf/Api.pbobjc.h" | 55 #import <Protobuf/Any.pbobjc.h> |
50 #import "google/protobuf/Duration.pbobjc.h" | 56 #import <Protobuf/Api.pbobjc.h> |
51 #import "google/protobuf/Empty.pbobjc.h" | 57 #import <Protobuf/Duration.pbobjc.h> |
52 #import "google/protobuf/FieldMask.pbobjc.h" | 58 #import <Protobuf/Empty.pbobjc.h> |
53 #import "google/protobuf/SourceContext.pbobjc.h" | 59 #import <Protobuf/FieldMask.pbobjc.h> |
54 #import "google/protobuf/Struct.pbobjc.h" | 60 #import <Protobuf/SourceContext.pbobjc.h> |
55 #import "google/protobuf/Timestamp.pbobjc.h" | 61 #import <Protobuf/Struct.pbobjc.h> |
56 #import "google/protobuf/Type.pbobjc.h" | 62 #import <Protobuf/Timestamp.pbobjc.h> |
57 #import "google/protobuf/Wrappers.pbobjc.h" | 63 #import <Protobuf/Type.pbobjc.h> |
| 64 #import <Protobuf/Wrappers.pbobjc.h> |
| 65 #else |
| 66 #import "google/protobuf/Any.pbobjc.h" |
| 67 #import "google/protobuf/Api.pbobjc.h" |
| 68 #import "google/protobuf/Duration.pbobjc.h" |
| 69 #import "google/protobuf/Empty.pbobjc.h" |
| 70 #import "google/protobuf/FieldMask.pbobjc.h" |
| 71 #import "google/protobuf/SourceContext.pbobjc.h" |
| 72 #import "google/protobuf/Struct.pbobjc.h" |
| 73 #import "google/protobuf/Timestamp.pbobjc.h" |
| 74 #import "google/protobuf/Type.pbobjc.h" |
| 75 #import "google/protobuf/Wrappers.pbobjc.h" |
| 76 #endif |
OLD | NEW |