goldendict-ng/src/audiolink.cc
Konstantin Isakov c7126a0281 + Ability to play the first audio reference by clicking on the 'Pronounce word'
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.
2009-04-10 21:07:03 +00:00

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>";
}