Support custom protocols

This commit is contained in:
Lea Anthony
2021-02-28 22:08:23 +11:00
parent 2d1b2c0947
commit b4c669ff86
8 changed files with 179 additions and 2 deletions

View File

@@ -14,6 +14,10 @@
// Macros to make it slightly more sane
#define msg objc_msgSend
#define kInternetEventClass 'GURL'
#define kAEGetURL 'GURL'
#define keyDirectObject '----'
#define c(str) (id)objc_getClass(str)
#define s(str) sel_registerName(str)
#define u(str) sel_getUid(str)
@@ -118,4 +122,6 @@ void SetActivationPolicy(struct Application* app, int policy);
void* lookupStringConstant(id constantName);
void HasURLHandlers(struct Application* app);
#endif