| 34 | public: |
| 35 | virtual ~ImeUtils() {} |
| 36 | std::string GetNextCandidateKeyForEngine(std::string engine) const { |
| 37 | std::string key = ""; |
| 38 | std::map<std::string, std::string>::const_iterator it; |
| 39 | if ((it = kNextCandidateKeysMap.find(engine)) != |
| 40 | kNextCandidateKeysMap.end()) { |
| 41 | key = it->second; |
| 42 | } |
| 43 | return key; |
| 44 | } |
| 45 | |
| 46 | protected: |
| 47 | ImeUtils() {} |