librime: rime::SwitcherCommand Class Reference

| librime 1.2 Rime Input Method Engine, the core library

Public Member Functions | Protected Attributes | List of all members
rime::SwitcherCommand Class Referenceabstract

`#include <switcher.h>`

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

## Public Member Functions
| SwitcherCommand (const string &keyword)
virtual void | Apply (Switcher *switcher)=0
const string & | keyword () const

## Protected Attributes
string | keyword_

## Constructor & Destructor Documentation

## ◆ SwitcherCommand()

rime::SwitcherCommand::SwitcherCommand | ( | const string & | keyword | ) |
| inline

## Member Function Documentation

## ◆ Apply()

virtual void rime::SwitcherCommand::Apply | ( | Switcher * | switcher | ) |
| pure virtual

Implemented in rime::FoldedOptions, rime::RadioOption, rime::SchemaAction, rime::SchemaSelection, and rime::Switch.

## ◆ keyword()

const string & rime::SwitcherCommand::keyword | ( |  | ) | const
| inline

## Member Data Documentation

## ◆ keyword_

string rime::SwitcherCommand::keyword_
| protected

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

- switcher.h