OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
OrcaDeepLinkHandler Class Reference
Inheritance diagram for OrcaDeepLinkHandler:
Collaboration diagram for OrcaDeepLinkHandler:

Instance Methods

(void) - handleGetURLEvent:withReplyEvent:

Detailed Description

Method Documentation

◆ handleGetURLEvent:withReplyEvent:

- (void) handleGetURLEvent: (NSAppleEventDescriptor *) event
withReplyEvent: (NSAppleEventDescriptor *) reply 
14 :(NSAppleEventDescriptor *)event withReplyEvent:(NSAppleEventDescriptor *)reply
15{
16 NSString *url = [[event paramDescriptorForKeyword:keyDirectObject] stringValue];
17 if (url == nil || url.length == 0)
18 return;
19 BOOST_LOG_TRIVIAL(info) << "Deep link received: " << [url UTF8String];
20 Slic3r::GUI::wxGetApp().MacOpenURL(wxString::FromUTF8([url UTF8String]));
21}

The documentation for this class was generated from the following file: