5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 19:33:40 +08:00
wails/v3/pkg/application/custom_protocol.h
2025-01-22 19:29:23 +11:00

14 lines
354 B
Objective-C

#ifndef CustomProtocol_h
#define CustomProtocol_h
#import <Cocoa/Cocoa.h>
extern void HandleCustomProtocol(char*);
@interface CustomProtocolSchemeHandler : NSObject
+ (void)handleGetURLEvent:(NSAppleEventDescriptor *)event withReplyEvent:(NSAppleEventDescriptor *)replyEvent;
@end
void StartCustomProtocolHandler(void);
#endif /* CustomProtocol_h */