◆ 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: