GPBRootObject.h 763 B

1234567891011121314151617181920212223242526272829
  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. #import <Foundation/Foundation.h>
  8. #import "GPBExtensionRegistry.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. /**
  11. * Every generated proto file defines a local "Root" class that exposes a
  12. * GPBExtensionRegistry for all the extensions defined by that file and
  13. * the files it depends on.
  14. **/
  15. @interface GPBRootObject : NSObject
  16. /**
  17. * @return An extension registry for the given file and all the files it depends
  18. * on.
  19. **/
  20. + (GPBExtensionRegistry *)extensionRegistry;
  21. @end
  22. NS_ASSUME_NONNULL_END