mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
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>";
|
||
|
}
|