librime: rime::CommitHistory Class Reference

| librime 1.2 Rime Input Method Engine, the core library

Public Member Functions | Static Public Attributes | List of all members
rime::CommitHistory Class Reference

`#include <commit_history.h>`

Inheritance diagram for rime::CommitHistory:
[legend]
Collaboration diagram for rime::CommitHistory:
[legend]

## Public Member Functions
void | Push (const CommitRecord &record)
void | Push (const KeyEvent &key_event)
void | Push (const Composition &composition, const string &input)
string | repr () const
string | latest_text () const

## Static Public Attributes
static const size_t | kMaxRecords = 20

## Member Function Documentation

## ◆ latest_text()

string rime::CommitHistory::latest_text | ( |  | ) | const
| inline

## ◆ Push() [1/3]

void rime::CommitHistory::Push | ( | const CommitRecord & | record | ) |

## ◆ Push() [2/3]

void rime::CommitHistory::Push | ( | const Composition & | composition,
|  | const string & | input )

## ◆ Push() [3/3]

void rime::CommitHistory::Push | ( | const KeyEvent & | key_event | ) |

## ◆ repr()

string rime::CommitHistory::repr | ( |  | ) | const

## Member Data Documentation

## ◆ kMaxRecords

const size_t rime::CommitHistory::kMaxRecords = 20
| static

The documentation for this class was generated from the following files:

- commit_history.h
- commit_history.cc