TA的每日心情 | 无聊 2021-9-17 23:16 |
|---|
签到天数: 341 天 [LV.8]以坛为家I
|
发表于 2017-10-15 18:26:09
|
显示全部楼层
本帖最后由 wantyu 于 2017-10-15 18:40 编辑 $ H( _# T8 r- x+ A+ |# W$ L$ u
, u3 y9 z& `2 s
goldendict源代码中config.hh中有这么一段定义:
7 C. j: b. Q; A9 B- struct DictionaryRef4 Q9 a$ h8 P8 s! P
- {' A1 z V& j8 }. n$ D3 ~
- QString id; // Dictionrary id, which is usually an md5 hash, E4 T- f4 ^+ _& y
- QString name; // Dictionary name, used to recover when its id changes
' n4 s* ~: K5 @5 T - 0 M/ @1 X/ A4 n
- DictionaryRef()
" x# _4 h- O- i- M2 I - {}0 K/ @- s3 b" e! }/ a
5 ~; O4 c6 P0 I- DictionaryRef( QString const & id_, QString const & name_ ):
" y* K: X) @1 w! h v% Z - id( id_ ), name( name_ ) {}
% ^) A, b$ A: B& T - " l% _' c) |8 g- @* \) u: o
- bool operator == ( DictionaryRef const & other ) const7 F' H C, u8 s) f- }
- { return id == other.id && name == other.name; }
: H6 e7 H$ w+ L0 G2 V - };
复制代码 # F3 R T. |4 L. H0 Y
) @& Y7 b) c, d6 D
具体是那个文件或者字符串的md5值就不得而知了 |
|