goldendict-ng/src/stardict.hh

29 lines
732 B
C++
Raw Normal View History

/* This file is (c) 2008-2009 Konstantin Isakov <ikm@users.berlios.de>
* Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */
#ifndef __STARTDICT_HH_INCLUDED__
#define __STARTDICT_HH_INCLUDED__
#include "dictionary.hh"
/// Support for the Stardict (ifo+dict+idx+syn) dictionaries.
namespace Stardict {
using std::vector;
using std::string;
class Format: public Dictionary::Format
{
public:
virtual vector< sptr< Dictionary::Class > > makeDictionaries(
vector< string > const & fileNames,
string const & indicesDir,
Dictionary::Initializing & )
throw( std::exception );
};
}
#endif