github.com/secoba/wails/v2@v2.6.4/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 */