1 // Protocol Buffers - Google's data interchange format
2 // Copyright 2008 Google Inc. All rights reserved.
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
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.
19 @interface GPBRootObject
: NSObject
22 * @return An extension registry for the given file and all the files it depends
25 + (GPBExtensionRegistry
*)extensionRegistry
;