github.com/AlpineAIO/wails/v2@v2.0.0-beta.32.0.20240505041856-1047a8fa5fef/internal/frontend/desktop/darwin/CustomProtocol.h (about)

     1  #ifndef CustomProtocol_h
     2  #define CustomProtocol_h
     3  
     4  #import <Cocoa/Cocoa.h>
     5  
     6  extern void HandleCustomProtocol(char*);
     7  
     8  @interface CustomProtocolSchemeHandler : NSObject
     9  + (void)handleGetURLEvent:(NSAppleEventDescriptor *)event withReplyEvent:(NSAppleEventDescriptor *)replyEvent;
    10  @end
    11  
    12  void StartCustomProtocolHandler(void);
    13  
    14  #endif /* CustomProtocol_h */