You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
927 B
28 lines
927 B
//
|
|
// dcocos_bridge.h
|
|
// dcocos_bridge
|
|
//
|
|
// Created by gem on 29/8/2024.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <UIKit/UIKit.h>
|
|
#import "platform/ios/AppDelegateBridge.h"
|
|
|
|
|
|
@interface dcocos_bridge : NSObject
|
|
+ (dcocos_bridge *)instance;
|
|
|
|
- (void)initPlatform;
|
|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;
|
|
- (void)applicationWillResignActive:(UIApplication *)application;
|
|
- (void)applicationDidBecomeActive:(UIApplication *)application;
|
|
- (void)applicationWillTerminate:(UIApplication *)application;
|
|
- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator;
|
|
- (UIView*)getCocosView;
|
|
- (void)setCocosView:(UIView*)view;
|
|
- (float)getCocosPixelRatio;
|
|
|
|
+ (void)callS:(NSString *)funcName args:(NSString *)args;
|
|
@property(nonatomic, readonly) AppDelegateBridge *appDelegateBridge;
|
|
@end
|
|
|