2010-12-09 12:31:50 +00:00
|
|
|
/* This file is (c) 2008-2011 Konstantin Isakov <ikm@goldendict.org>
|
2009-04-04 16:06:06 +00:00
|
|
|
* Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */
|
|
|
|
|
|
|
|
#ifndef __SOUNDDIR_HH_INCLUDED__
|
|
|
|
#define __SOUNDDIR_HH_INCLUDED__
|
|
|
|
|
|
|
|
#include "dictionary.hh"
|
|
|
|
#include "config.hh"
|
|
|
|
|
|
|
|
/// Support for sound dirs, arbitrary directories full of audio files.
|
|
|
|
namespace SoundDir {
|
|
|
|
|
|
|
|
using std::vector;
|
|
|
|
using std::string;
|
|
|
|
|
|
|
|
vector< sptr< Dictionary::Class > > makeDictionaries( Config::SoundDirs const &,
|
|
|
|
string const & indicesDir,
|
|
|
|
Dictionary::Initializing & )
|
|
|
|
throw( std::exception );
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|