goldendict-ng/src/dict/epwing.hh

29 lines
840 B
C++
Raw Normal View History

2014-05-20 13:59:56 +00:00
#ifndef __EPWING_HH__INCLUDED__
#define __EPWING_HH__INCLUDED__
#include "dict/dictionary.hh"
2022-10-04 07:07:04 +00:00
#include "epwing_book.hh"
#include "btreeidx.hh"
#include "chunkedstorage.hh"
2014-05-20 13:59:56 +00:00
/// Support for the Epwing dictionaries.
namespace Epwing {
using std::vector;
using std::string;
2022-10-04 07:07:04 +00:00
void addWordToChunks( Epwing::Book::EpwingHeadword & head,
ChunkedStorage::Writer & chunks,
BtreeIndexing::IndexedWords & indexedWords,
int & wordCount,
int & articleCount );
vector< sptr< Dictionary::Class > >
makeDictionaries(
2014-05-20 13:59:56 +00:00
vector< string > const & fileNames,
string const & indicesDir,
Dictionary::Initializing & )
2022-01-09 08:35:07 +00:00
;
2014-05-20 13:59:56 +00:00
}
#endif // __EPWING_HH__INCLUDED__