mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
(Fixed a silly typo in the last commit)
This commit is contained in:
parent
4c9b1eff4f
commit
a811a80884
1 changed files with 2 additions and 1 deletions
|
|
@ -392,13 +392,14 @@ bool DirectoryIterator::NativeIterator::next (String& filenameFound,
|
|||
|
||||
|
||||
//==============================================================================
|
||||
bool JUCE_CALLTYPE Process::openDocument (const String& fileName, const String& /*parameters*/)
|
||||
bool JUCE_CALLTYPE Process::openDocument (const String& fileName, const String& parameters)
|
||||
{
|
||||
JUCE_AUTORELEASEPOOL
|
||||
{
|
||||
NSURL* filenameAsURL = [NSURL URLWithString: juceStringToNS (fileName)];
|
||||
|
||||
#if JUCE_IOS
|
||||
(void) parameters;
|
||||
return [[UIApplication sharedApplication] openURL: filenameAsURL];
|
||||
#else
|
||||
NSWorkspace* workspace = [NSWorkspace sharedWorkspace];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue