Auto-generate files after cl/721507009
[google-protobuf.git] / objectivec / GPBRootObject.h
blobb31f5b78424dff3919398736f9b678f0cec9ad5c
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
8 #import <Foundation/Foundation.h>
10 #import "GPBExtensionRegistry.h"
12 NS_ASSUME_NONNULL_BEGIN
14 /**
15 * Every generated proto file defines a local "Root" class that exposes a
16 * GPBExtensionRegistry for all the extensions defined by that file and
17 * the files it depends on.
18 **/
19 @interface GPBRootObject : NSObject
21 /**
22 * @return An extension registry for the given file and all the files it depends
23 * on.
24 **/
25 + (GPBExtensionRegistry *)extensionRegistry;
27 @end
29 NS_ASSUME_NONNULL_END