mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-18 15:34:06 +00:00
29 lines
840 B
C++
29 lines
840 B
C++
#ifndef __EPWING_HH__INCLUDED__
|
|
#define __EPWING_HH__INCLUDED__
|
|
|
|
#include "dict/dictionary.hh"
|
|
#include "epwing_book.hh"
|
|
#include "btreeidx.hh"
|
|
#include "chunkedstorage.hh"
|
|
/// Support for the Epwing dictionaries.
|
|
namespace Epwing {
|
|
|
|
using std::vector;
|
|
using std::string;
|
|
|
|
void addWordToChunks( Epwing::Book::EpwingHeadword & head,
|
|
ChunkedStorage::Writer & chunks,
|
|
BtreeIndexing::IndexedWords & indexedWords,
|
|
int & wordCount,
|
|
int & articleCount );
|
|
|
|
vector< sptr< Dictionary::Class > >
|
|
makeDictionaries(
|
|
vector< string > const & fileNames,
|
|
string const & indicesDir,
|
|
Dictionary::Initializing & )
|
|
;
|
|
}
|
|
|
|
#endif // __EPWING_HH__INCLUDED__
|