(svn r23490) -Add [FS#2750]: OpenBrowser function to open a browser on major OSes
This commit is contained in:
@@ -118,6 +118,10 @@ void ShowOSErrorBox(const char *buf, bool system)
|
||||
}
|
||||
}
|
||||
|
||||
void OSOpenBrowser(const char *url)
|
||||
{
|
||||
[ [ NSWorkspace sharedWorkspace ] openURL:[ NSURL URLWithString:[ NSString stringWithUTF8String:url ] ] ];
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine and return the current user's locale.
|
||||
|
Reference in New Issue
Block a user