TA的每日心情 | 无聊 2021-9-17 23:16 |
---|
签到天数: 341 天 [LV.8]以坛为家I
|
发表于 2017-10-15 18:26:09
|
显示全部楼层
本帖最后由 wantyu 于 2017-10-15 18:40 编辑 8 z' E- n* S$ `7 @* |, [1 f6 b2 j
) g, {5 C0 {2 ~* _# b- Z! y
goldendict源代码中config.hh中有这么一段定义:
! o7 t, M/ U5 A0 w9 r- struct DictionaryRef
# P0 u) h, H( X$ e5 X. p) f5 [" y) J - {
2 s9 J& o$ n" C" U: Y( E - QString id; // Dictionrary id, which is usually an md5 hash
& Z& s) l/ j5 R5 d2 t2 } - QString name; // Dictionary name, used to recover when its id changes6 }2 ^# l2 U: m( `
- " R, T2 N7 }$ b) U: Z
- DictionaryRef()' O0 [8 P% C! I6 g
- {}1 h8 o- W8 O" _$ G0 [& D9 I& G
- 2 p n6 a$ s1 F( j' J- u B
- DictionaryRef( QString const & id_, QString const & name_ ):
% E& n4 O5 f5 z/ V1 J1 f - id( id_ ), name( name_ ) {}, L3 @' Q( ~0 }- p) o
2 I% j$ \) N* `/ P0 n- bool operator == ( DictionaryRef const & other ) const
( I6 d% r. [+ n1 s) J; R/ n: R - { return id == other.id && name == other.name; }
% p2 H! Y7 Y* P6 P$ T - };
复制代码
0 r; A0 h8 {4 g; V3 L0 u) ]4 G3 [, [ Q# f' y
具体是那个文件或者字符串的md5值就不得而知了 |
|