librime 1.2
Rime Input Method Engine, the core library
rime::Registry Class Reference

#include <registry.h>

Public Types

using ComponentMap = map<string, ComponentBase*>

Public Member Functions

RIME_DLL ComponentBaseFind (const string &name)
RIME_DLL void Register (const string &name, ComponentBase *component)
RIME_DLL void Unregister (const string &name)
void Clear ()

Static Public Member Functions

static RIME_DLL Registry & instance ()

Member Typedef Documentation

◆ ComponentMap

Member Function Documentation

◆ Clear()

void rime::Registry::Clear ( )

◆ Find()

ComponentBase * rime::Registry::Find ( const string & name)

◆ instance()

Registry & rime::Registry::instance ( )
static

◆ Register()

void rime::Registry::Register ( const string & name,
ComponentBase * component )

◆ Unregister()

void rime::Registry::Unregister ( const string & name)

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