Commit 74794879076de7e226cd5aa4190530ca96999017

Authored by Arthur Bikmullin
1 parent f39f9e6a

Removed unnecessary shell.cpp from mungo

Showing 1 changed file with 0 additions and 12 deletions
1   -void Exec(String url) {
2   -#if _WIN32
3   - ShellExecute( HWND_DESKTOP,"open",url.ToCString<char>(),0,0,SW_SHOWNORMAL );
4   -#elif __APPLE__
5   - if( CFURLRef cfurl=CFURLCreateWithBytes( 0,url.ToCString<UInt8>(),url.Length(),kCFStringEncodingASCII,0 ) ){
6   - LSOpenCFURLRef( cfurl,0 );
7   - CFRelease( cfurl );
8   - }
9   -#elif __linux
10   - system( ( String( "xdg-open \"" )+url+"\"" ).ToCString<char>() );
11   -#endif
12   -}
\ No newline at end of file