mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 12:44:07 +00:00
c7126a0281
button in main window or in scan popup added. It is also possible to configure the program to do that automatically. + It is now possible to specify which program to use for audio file playback.
12 lines
400 B
C++
12 lines
400 B
C++
/* This file is (c) 2008-2009 Konstantin Isakov <ikm@users.berlios.de>
|
|
* Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */
|
|
|
|
#include "audiolink.hh"
|
|
|
|
std::string addAudioLink( std::string const & url )
|
|
{
|
|
return std::string( "<script language=\"JavaScript\">var gdAudioLink; "
|
|
"if ( !gdAudioLink ) gdAudioLink=" ) + url +
|
|
";" + "</script>";
|
|
}
|