Fcitx
|
Interface for trigger actions on candidates. More...
#include <fcitx/candidatelist.h>
Public Member Functions | |
virtual bool | hasAction (const CandidateWord &candidate) const =0 |
Check whether this candidate has action. More... | |
virtual std::vector< CandidateAction > | candidateActions (const CandidateWord &candidate) const =0 |
Return a list of actions. | |
virtual void | triggerAction (const CandidateWord &candidate, int id)=0 |
Trigger the action based on the index returned from candidateActions. | |
Interface for trigger actions on candidates.
Definition at line 209 of file candidatelist.h.
|
pure virtual |
Check whether this candidate has action.
This function should be fast and guarantee that candidateActions return a not empty vector.