diff options
| author | Peng Wu <alexepico@gmail.com> | 2016-01-26 16:01:40 +0800 |
|---|---|---|
| committer | Peng Wu <alexepico@gmail.com> | 2016-01-26 16:01:40 +0800 |
| commit | 8a69df17c20e7b09fc91856d6653ff52b5f297aa (patch) | |
| tree | c45285edc17ca2187ef1e75ff3409f584e285ac4 /src | |
| parent | 4e0c42f37615c7efc24d8a06b9e77b025824c8b0 (diff) | |
| download | libpinyin-8a69df17c20e7b09fc91856d6653ff52b5f297aa.tar.gz libpinyin-8a69df17c20e7b09fc91856d6653ff52b5f297aa.tar.xz libpinyin-8a69df17c20e7b09fc91856d6653ff52b5f297aa.zip | |
update member variables
Diffstat (limited to 'src')
| -rw-r--r-- | src/storage/phrase_large_table3_bdb.h | 7 | ||||
| -rw-r--r-- | src/storage/phrase_large_table3_kyotodb.h | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/src/storage/phrase_large_table3_bdb.h b/src/storage/phrase_large_table3_bdb.h index 9992a7b..e3ebb2b 100644 --- a/src/storage/phrase_large_table3_bdb.h +++ b/src/storage/phrase_large_table3_bdb.h @@ -22,13 +22,18 @@ #ifndef PHRASE_LARGE_TABLE3_BDB_H #define PHRASE_LARGE_TABLE3_BDB_H +#include <db.h> + namespace pinyin{ class PhraseTableEntry; class PhraseLargeTable3{ -protected: +private: /* member variables. */ + DB * m_db; + +protected: PhraseTableEntry * m_entry; void reset(); diff --git a/src/storage/phrase_large_table3_kyotodb.h b/src/storage/phrase_large_table3_kyotodb.h index 9ee9290..deb83e8 100644 --- a/src/storage/phrase_large_table3_kyotodb.h +++ b/src/storage/phrase_large_table3_kyotodb.h @@ -22,13 +22,18 @@ #ifndef PHRASE_LARGE_TABLE3_KYOTODB_H #define PHRASE_LARGE_TABLE3_KYOTODB_H +#include <kcdb.h> + namespace pinyin{ class PhraseTableEntry; class PhraseLargeTable3{ -protected: +private: /* member variables. */ + kyotocabinet::BasicDB * m_db; + +protected: PhraseTableEntry * m_entry; void reset(); |
