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:
Paul Davis 2008-11-17 15:49:52 +00:00
parent 24ccad6dfb
commit 2ed2be3557

View file

@ -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];
}