mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 15:37:48 +01:00
cocoa-based URL handling, first pass (not tested)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4194 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
24ccad6dfb
commit
2ed2be3557
1 changed files with 6 additions and 0 deletions
|
|
@ -163,3 +163,9 @@ ARDOUR_UI::platform_setup ()
|
|||
}
|
||||
}
|
||||
|
||||
bool
|
||||
cocoa_open_uri (const char* uri)
|
||||
{
|
||||
NSURL* nsurl = [NSURL initWithString:uri];
|
||||
return [[NSWorkspace sharedWorkspace] openURL:nsurl];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue