mirror of
https://github.com/dsward2/macSVG.git
synced 2026-03-02 18:23:58 +01:00
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.
41 lines
1.0 KiB
Objective-C
41 lines
1.0 KiB
Objective-C
//
|
|
// ElementEditorPlugInController.h
|
|
// macSVG
|
|
//
|
|
// Created by Douglas Ward on 3/2/12.
|
|
// Copyright © 2016 ArkPhone LLC. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@class EditorUIFrameController;
|
|
@class DOMEvent;
|
|
@class SVGXMLDOMSelectionManager;
|
|
|
|
@interface ElementEditorPlugInController : NSObject
|
|
{
|
|
IBOutlet SVGXMLDOMSelectionManager * svgXMLDOMSelectionManager;
|
|
IBOutlet EditorUIFrameController * editorUIFrameController;
|
|
IBOutlet NSView * elementEditorPlugInView;
|
|
}
|
|
|
|
@property(weak) IBOutlet NSScrollView * pluginHostScrollView;
|
|
|
|
@property(strong) NSXMLElement * currentXmlElement;
|
|
@property(strong) NSString * currentElementName;
|
|
@property(strong) id currentPlugin;
|
|
|
|
- (void)setEnabled:(BOOL)enabled;
|
|
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
- (void) handlePluginEvent:(DOMEvent *)event;
|
|
|
|
#pragma clang diagnostic pop
|
|
|
|
- (void)loadElementEditorPlugIn:(NSString *)selectedElementEditorPlugIn;
|
|
- (NSMutableArray *) contextMenuItemsForPlugin;
|
|
|
|
@end
|