Add symbols for SubEthaEdit app

This commit is contained in:
jlucfarias 2025-05-25 11:31:22 -03:00
parent f1673369c0
commit 050a2da409
5 changed files with 42 additions and 30 deletions

View File

@ -1,33 +1,31 @@
#include <SystemConfiguration/SCSchemaDefinitions.h> #include <SystemConfiguration/SCSchemaDefinitions.h>
#include <CoreFoundation/CFString.h> #include <CoreFoundation/CFString.h>
#ifndef CONST_STRING_DECL const CFStringRef kSCPropNetIPv4Addresses = CFSTR("Addresses");
# define CONST_STRING_DECL(name, value) const CFStringRef name = CFSTR(value) const CFStringRef kSCPropNetIPv4SubnetMasks = CFSTR("SubnetMasks");
#endif const CFStringRef kSCPropNetProxiesExceptionsList = CFSTR("ExceptionsList");
const CFStringRef kSCPropNetProxiesExcludeSimpleHostnames = CFSTR("ExcludeSimpleHostnames");
CONST_STRING_DECL(kSCPropNetProxiesExceptionsList, "ExceptionsList"); const CFStringRef kSCPropNetProxiesFTPEnable = CFSTR("FTPEnable");
CONST_STRING_DECL(kSCPropNetProxiesExcludeSimpleHostnames, "ExcludeSimpleHostnames"); const CFStringRef kSCPropNetProxiesFTPPassive = CFSTR("FTPPassive");
CONST_STRING_DECL(kSCPropNetProxiesFTPEnable, "FTPEnable"); const CFStringRef kSCPropNetProxiesFTPPort = CFSTR("FTPPort");
CONST_STRING_DECL(kSCPropNetProxiesFTPPassive, "FTPPassive"); const CFStringRef kSCPropNetProxiesFTPProxy = CFSTR("FTPProxy");
CONST_STRING_DECL(kSCPropNetProxiesFTPPort, "FTPPort"); const CFStringRef kSCPropNetProxiesGopherEnable = CFSTR("GopherEnable");
CONST_STRING_DECL(kSCPropNetProxiesFTPProxy, "FTPProxy"); const CFStringRef kSCPropNetProxiesGopherPort = CFSTR("GopherPort");
CONST_STRING_DECL(kSCPropNetProxiesGopherEnable, "GopherEnable"); const CFStringRef kSCPropNetProxiesGopherProxy = CFSTR("GopherProxy");
CONST_STRING_DECL(kSCPropNetProxiesGopherPort, "GopherPort"); const CFStringRef kSCPropNetProxiesHTTPEnable = CFSTR("HTTPEnable");
CONST_STRING_DECL(kSCPropNetProxiesGopherProxy, "GopherProxy"); const CFStringRef kSCPropNetProxiesHTTPPort = CFSTR("HTTPPort");
CONST_STRING_DECL(kSCPropNetProxiesHTTPEnable, "HTTPEnable"); const CFStringRef kSCPropNetProxiesHTTPProxy = CFSTR("HTTPProxy");
CONST_STRING_DECL(kSCPropNetProxiesHTTPPort, "HTTPPort"); const CFStringRef kSCPropNetProxiesHTTPSEnable = CFSTR("HTTPSEnable");
CONST_STRING_DECL(kSCPropNetProxiesHTTPProxy, "HTTPProxy"); const CFStringRef kSCPropNetProxiesHTTPSPort = CFSTR("HTTPSPort");
CONST_STRING_DECL(kSCPropNetProxiesHTTPSEnable, "HTTPSEnable"); const CFStringRef kSCPropNetProxiesHTTPSProxy = CFSTR("HTTPSProxy");
CONST_STRING_DECL(kSCPropNetProxiesHTTPSPort, "HTTPSPort"); const CFStringRef kSCPropNetProxiesRTSPEnable = CFSTR("RTSPEnable");
CONST_STRING_DECL(kSCPropNetProxiesHTTPSProxy, "HTTPSProxy"); const CFStringRef kSCPropNetProxiesRTSPPort = CFSTR("RTSPPort");
CONST_STRING_DECL(kSCPropNetProxiesRTSPEnable, "RTSPEnable"); const CFStringRef kSCPropNetProxiesRTSPProxy = CFSTR("RTSPProxy");
CONST_STRING_DECL(kSCPropNetProxiesRTSPPort, "RTSPPort"); const CFStringRef kSCPropNetProxiesSOCKSEnable = CFSTR("SOCKSEnable");
CONST_STRING_DECL(kSCPropNetProxiesRTSPProxy, "RTSPProxy"); const CFStringRef kSCPropNetProxiesSOCKSPort = CFSTR("SOCKSPort");
CONST_STRING_DECL(kSCPropNetProxiesSOCKSEnable, "SOCKSEnable"); const CFStringRef kSCPropNetProxiesSOCKSProxy = CFSTR("SOCKSProxy");
CONST_STRING_DECL(kSCPropNetProxiesSOCKSPort, "SOCKSPort"); const CFStringRef kSCPropNetProxiesProxyAutoConfigEnable = CFSTR("ProxyAutoConfigEnable");
CONST_STRING_DECL(kSCPropNetProxiesSOCKSProxy, "SOCKSProxy"); const CFStringRef kSCPropNetProxiesProxyAutoConfigJavaScript = CFSTR("ProxyAutoConfigJavaScript");
CONST_STRING_DECL(kSCPropNetProxiesProxyAutoConfigEnable, "ProxyAutoConfigEnable"); const CFStringRef kSCPropNetProxiesProxyAutoConfigURLString = CFSTR("ProxyAutoConfigURLString");
CONST_STRING_DECL(kSCPropNetProxiesProxyAutoConfigJavaScript, "ProxyAutoConfigJavaScript"); const CFStringRef kSCPropNetProxiesProxyAutoDiscoveryEnable = CFSTR("ProxyAutoDiscoveryEnable");
CONST_STRING_DECL(kSCPropNetProxiesProxyAutoConfigURLString, "ProxyAutoConfigURLString"); const CFStringRef kSCDynamicStorePropNetPrimaryInterface = CFSTR("PrimaryInterface");
CONST_STRING_DECL(kSCPropNetProxiesProxyAutoDiscoveryEnable, "ProxyAutoDiscoveryEnable");

View File

@ -47,6 +47,7 @@ add_framework(WebKit
src/_WKWebsiteDataStore.m src/_WKWebsiteDataStore.m
src/_WKWebsiteDataStoreConfiguration.m src/_WKWebsiteDataStoreConfiguration.m
src/_WKWebsitePolicies.m src/_WKWebsitePolicies.m
src/WebView.m
src/WKCustomProtocolLoader.m src/WKCustomProtocolLoader.m
src/WKCustomProtocol.m src/WKCustomProtocol.m
src/WKNetworkSessionDelegate.m src/WKNetworkSessionDelegate.m

View File

@ -188,6 +188,7 @@
#import <WebKit/WKWebView.h> #import <WebKit/WKWebView.h>
#import <WebKit/WKWebViewConfiguration.h> #import <WebKit/WKWebViewConfiguration.h>
#import <WebKit/WKWindowFeatures.h> #import <WebKit/WKWindowFeatures.h>
#import <WebKit/WebView.h>
@protocol DOMEventListener @protocol DOMEventListener
@end @end

View File

@ -0,0 +1,6 @@
#import <Cocoa/Cocoa.h>
extern NSString *WebElementImageKey;
extern NSString *WebElementLinkURLKey;
extern NSString *WebElementLinkTargetFrameKey;
extern NSString *WebElementLinkTitleKey;

View File

@ -0,0 +1,6 @@
#import <WebKit/WebView.h>
NSString *WebElementImageKey = @"WebElementImage";
NSString *WebElementLinkURLKey = @"WebElementLinkURL";
NSString *WebElementLinkTargetFrameKey = @"WebElementTargetFrame";
NSString *WebElementLinkTitleKey = @"WebElementLinkTitle";