refactor: reorganize dictionary processing related code

This commit is contained in:
shenleban tongying 2024-09-24 21:29:59 -04:00 committed by GitHub
parent ba97a9ca87
commit 2a918d5fdd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 15 additions and 12 deletions

View file

@ -167,6 +167,7 @@ target_include_directories(${GOLDENDICT} PRIVATE
${PROJECT_SOURCE_DIR}/src/
${PROJECT_SOURCE_DIR}/src/common
${PROJECT_SOURCE_DIR}/src/dict
${PROJECT_SOURCE_DIR}/src/dict/utils
${PROJECT_SOURCE_DIR}/src/ui
)

View file

@ -5,7 +5,7 @@
#include "bgl_babylon.hh"
#include "btreeidx.hh"
#include "chunkedstorage.hh"
#include "file.hh"
#include "dictfile.hh"
#include "folding.hh"
#include "ftshelpers.hh"
#include "gddebug.hh"

View file

@ -5,7 +5,7 @@
#define __BTREEIDX_HH_INCLUDED__
#include "dict/dictionary.hh"
#include "file.hh"
#include "dictfile.hh"
#include <algorithm>
#include <map>

View file

@ -5,7 +5,7 @@
#define __CHUNKEDSTORAGE_HH_INCLUDED__
#include "ex.hh"
#include "file.hh"
#include "dictfile.hh"
#include <vector>
#include <stdint.h>

View file

@ -2,7 +2,7 @@
* Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */
#include "lsa.hh"
#include "file.hh"
#include "dictfile.hh"
#include "iconv.hh"
#include "folding.hh"
#include "utf8.hh"

View file

@ -5,7 +5,7 @@
#include "btreeidx.hh"
#include "folding.hh"
#include "utf8.hh"
#include "file.hh"
#include "dictfile.hh"
#include "wstring.hh"
#include "wstring_qt.hh"
#include "chunkedstorage.hh"

View file

@ -2,7 +2,6 @@
* Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */
#include "sounddir.hh"
#include "file.hh"
#include "folding.hh"
#include "utf8.hh"
#include "btreeidx.hh"

View file

@ -1,7 +1,7 @@
/* This file is (c) 2008-2012 Konstantin Isakov <ikm@goldendict.org>
* Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */
#include "file.hh"
#include "dictfile.hh"
#include "zipfile.hh"

View file

@ -1,4 +1,4 @@
/* Made up from data.c and other supplementary files of dictd-1.0.11 for the
/* Made up from data.c and other supplementary files of dictd-1.11.0 for the
* GoldenDict program.
*/

View file

@ -1,6 +1,9 @@
#ifndef UFILE_HH_INCLUDED
#define UFILE_HH_INCLUDED
// Don't use this thing.
// Use QFile instead.
#ifdef __WIN32
#include "zlib.h"

View file

@ -9,7 +9,7 @@
#include "folding.hh"
#include "audiolink.hh"
#include "file.hh"
#include "dictfile.hh"
#include "filetype.hh"
#include "htmlescape.hh"
#include "utils.hh"

View file

@ -11,7 +11,7 @@
#include "utf8.hh"
#include "langcoder.hh"
#include "filetype.hh"
#include "file.hh"
#include "dictfile.hh"
#include "utils.hh"
#include "tiff.hh"
#include "ftshelpers.hh"

View file

@ -2,7 +2,7 @@
* Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */
#include "zipsounds.hh"
#include "file.hh"
#include "dictfile.hh"
#include "folding.hh"
#include "utf8.hh"
#include "btreeidx.hh"

View file

@ -6,7 +6,7 @@
#include "fulltextsearch.hh"
#include "ftshelpers.hh"
#include "wstring_qt.hh"
#include "file.hh"
#include "dictfile.hh"
#include "gddebug.hh"
#include "folding.hh"
#include "utils.hh"