Files
macSVG-mirror/macSVG/SVGDocument Classes/DOMSelectionCacheRecord.h
dsward2 2f547e6a37 macOS 10.15 Catalina will be released soon, and apparently will include the WebKit Legacy framework, so this commit will make some initial changes to macSVG for Catalina.
The Generate HTML5 Video command should be working again for Macs that don't use Xeon processors.

The biggest set of changes is to suppress the warning messages for deprecated WebKit APIs.  This is done by wrapping some conditional code around the deprecated code, e.g.,

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
// deprecated APIs used here
#pragma clang diagnostic pop

More work needs to be done on this.

Several other deprecated macOS APIs were identified, and several were updated.

A subsequent commit is planned to update some third-party code, like CocoaAsyncSocket, CocoaHTTPServer, etc.
2019-10-04 02:49:42 -05:00

27 lines
482 B
Objective-C

//
// DOMSelectionCacheRecord.h
// macSVG
//
// Created by Douglas Ward on 1/11/12.
// Copyright © 2016 ArkPhone LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
@class DOMElement;
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
@interface DOMSelectionCacheRecord : NSObject
{
}
@property(strong) DOMElement * parentElement;
@property(strong) DOMElement * controlParentElement;
@end
#pragma clang diagnostic pop