• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #import <Foundation/Foundation.h>
9 
10 #import "GPBExtensionRegistry.h"
11 
12 NS_ASSUME_NONNULL_BEGIN
13 
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
20 
21 /**
22  * @return An extension registry for the given file and all the files it depends
23  * on.
24  **/
25 + (GPBExtensionRegistry *)extensionRegistry;
26 
27 @end
28 
29 NS_ASSUME_NONNULL_END
30