AppDelegate.h 624 B

12345678910111213141516171819202122
  1. /**
  2. * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-License-Identifier: GPL-3.0-or-later
  4. */
  5. #import <UIKit/UIKit.h>
  6. #import <PushKit/PushKit.h>
  7. @interface AppDelegate : UIResponder <UIApplicationDelegate, PKPushRegistryDelegate>
  8. {
  9. PKPushRegistry *pushRegistry;
  10. NSString *normalPushToken;
  11. NSString *pushKitToken;
  12. }
  13. @property (strong, nonatomic) UIWindow *window;
  14. @property (assign, nonatomic) BOOL shouldLockInterfaceOrientation;
  15. @property (assign, nonatomic) UIInterfaceOrientation lockedInterfaceOrientation;
  16. - (void)keepExternalSignalingConnectionAliveTemporarily;
  17. @end