Fcitx
Public Member Functions | Friends | List of all members
fcitx::InputContextPropertyFactory Class Referenceabstract

Factory class for input context property. More...

#include <fcitx/inputcontextproperty.h>

Inheritance diagram for fcitx::InputContextPropertyFactory:
Inheritance graph
[legend]
Collaboration diagram for fcitx::InputContextPropertyFactory:
Collaboration graph
[legend]

Public Member Functions

virtual InputContextPropertycreate (InputContext &)=0
 
bool registered () const
 Return whether the factory is already registered with an InputContextManager. More...
 
void unregister ()
 Unregister the factory from current InputContextManager.
 
- Public Member Functions inherited from fcitx::TrackableObject< InputContextPropertyFactory >
 TrackableObject (const TrackableObject &)=delete
 
TrackableObjectReference< InputContextPropertyFactorywatch ()
 
TrackableObjectReference< const InputContextPropertyFactorywatch () const
 

Friends

class InputContextManager
 

Detailed Description

Factory class for input context property.

Factory can be only registered with one InputContextManager. The factory will automatically unregister itself upon destruction. The factory need to unregister before the destruction of InputContextManager.

See also
InputContextManager::registerProperty

Definition at line 65 of file inputcontextproperty.h.


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