Thomas Van Lenten | 30650d8 | 2015-05-01 08:57:16 -0400 | [diff] [blame] | 1 | // Protocol Buffers - Google's data interchange format |
| 2 | // Copyright 2008 Google Inc. All rights reserved. |
Thomas Van Lenten | 30650d8 | 2015-05-01 08:57:16 -0400 | [diff] [blame] | 3 | // |
Joshua Haberman | 44bd65b | 2023-09-08 17:43:14 -0700 | [diff] [blame] | 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 |
Thomas Van Lenten | 30650d8 | 2015-05-01 08:57:16 -0400 | [diff] [blame] | 7 | |
| 8 | #import <Foundation/Foundation.h> |
| 9 | |
| 10 | #import "GPBRootObject.h" |
| 11 | |
Thomas Van Lenten | 231b968 | 2024-09-05 08:21:23 -0700 | [diff] [blame] | 12 | #import "GPBDescriptor.h" |
Thomas Van Lenten | 30650d8 | 2015-05-01 08:57:16 -0400 | [diff] [blame] | 13 | |
| 14 | @interface GPBRootObject () |
| 15 | |
| 16 | // Globally register. |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 17 | + (void)globallyRegisterExtension:(GPBExtensionDescriptor *)field; |
Thomas Van Lenten | 30650d8 | 2015-05-01 08:57:16 -0400 | [diff] [blame] | 18 | |
| 19 | @end |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 20 | |
| 21 | // Returns YES if the selector was resolved and added to the class, |
| 22 | // NO otherwise. |
| 23 | BOOL GPBResolveExtensionClassMethod(Class self, SEL sel); |