Back to index

im-sdk  12.3.91
Public Member Functions | Private Attributes
InputContext Class Reference

#include <InputContext.hh>

Inheritance diagram for InputContext:
Inheritance graph
[legend]
Collaboration diagram for InputContext:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 InputContext ()
virtual ~InputContext ()
virtual const CompoundStringgetUser () const =0
virtual const CompoundStringgetLocaleName () const =0
virtual const CompoundStringgetEngineName () const =0
virtual const CompoundStringgetApplicationName () const =0
virtual const CompoundStringgetOSName () const =0
virtual const CompoundStringgetOSArch () const =0
virtual const CompoundStringgetOSVersion () const =0
virtual const CompoundStringgetXDisplayString () const =0
virtual const CompoundStringgetXServerVendor () const =0
virtual int commit_string (IMText *text)=0
virtual int forward_event (IMKeyEventStruct *event)=0
virtual int preedit_start (IMPreeditStruct *preedit)=0
virtual int preedit_draw (IMPreeditStruct *preedit)=0
virtual int preedit_caret (IMPreeditStruct *preedit)=0
virtual int preedit_done (IMPreeditStruct *preedit)=0
virtual int status_start (IMStatusStruct *status)=0
virtual int status_draw (IMStatusStruct *status)=0
virtual int status_done (IMStatusStruct *status)=0
virtual int lookup_start (IMLookupStruct *lookup)=0
virtual int lookup_draw (IMLookupStruct *lookup)=0
virtual int lookup_done (IMLookupStruct *lookup)=0
virtual int auxiliary_start (IMAuxStruct *auxiliary)=0
virtual int auxiliary_draw (IMAuxStruct *auxiliary)=0
virtual int auxiliary_done (IMAuxStruct *auxiliary)=0
virtual int conversion_start ()=0
virtual int conversion_end ()=0
void set_icvalues (IMArg *args, int n)
void get_icvalues (IMArg *args, int n) const

Private Attributes

IMList< char > arg_list

Detailed Description

Definition at line 54 of file InputContext.hh.


Constructor & Destructor Documentation

Definition at line 56 of file InputContext.hh.

{};
virtual InputContext::~InputContext ( ) [inline, virtual]

Definition at line 57 of file InputContext.hh.

{};

Member Function Documentation

virtual int InputContext::auxiliary_done ( IMAuxStruct auxiliary) [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

virtual int InputContext::auxiliary_draw ( IMAuxStruct auxiliary) [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

virtual int InputContext::auxiliary_start ( IMAuxStruct auxiliary) [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

virtual int InputContext::commit_string ( IMText text) [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

Here is the caller graph for this function:

virtual int InputContext::conversion_end ( ) [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

virtual int InputContext::conversion_start ( ) [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

virtual int InputContext::forward_event ( IMKeyEventStruct event) [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

void InputContext::get_icvalues ( IMArg args,
int  n 
) const

Definition at line 53 of file InputContext.cpp.

                                                   {
  for (int i = 0; i < n; i++) {
    args[i].value = &(arg_list.getItemByKey(args[i].id));
  }
}

Here is the call graph for this function:

virtual const CompoundString& InputContext::getApplicationName ( ) const [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

virtual const CompoundString& InputContext::getEngineName ( ) const [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

virtual const CompoundString& InputContext::getLocaleName ( ) const [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

virtual const CompoundString& InputContext::getOSArch ( ) const [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

virtual const CompoundString& InputContext::getOSName ( ) const [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

virtual const CompoundString& InputContext::getOSVersion ( ) const [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

virtual const CompoundString& InputContext::getUser ( ) const [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

virtual const CompoundString& InputContext::getXDisplayString ( ) const [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

virtual const CompoundString& InputContext::getXServerVendor ( ) const [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

virtual int InputContext::lookup_done ( IMLookupStruct lookup) [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

virtual int InputContext::lookup_draw ( IMLookupStruct lookup) [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

virtual int InputContext::lookup_start ( IMLookupStruct lookup) [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

virtual int InputContext::preedit_caret ( IMPreeditStruct preedit) [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

virtual int InputContext::preedit_done ( IMPreeditStruct preedit) [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

virtual int InputContext::preedit_draw ( IMPreeditStruct preedit) [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

virtual int InputContext::preedit_start ( IMPreeditStruct preedit) [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

void InputContext::set_icvalues ( IMArg args,
int  n 
)

Definition at line 46 of file InputContext.cpp.

                                             {
  for (int i = 0; i < n; i++) {
    arg_list.addItemByKey(args[i].value, args[i].id);
  }
}

Here is the call graph for this function:

virtual int InputContext::status_done ( IMStatusStruct status) [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

virtual int InputContext::status_draw ( IMStatusStruct status) [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.

virtual int InputContext::status_start ( IMStatusStruct status) [pure virtual]

Implemented in XIMPInputContext, and IIIMPInputContext.


Member Data Documentation

IMList<char> InputContext::arg_list [private]

Definition at line 101 of file InputContext.hh.


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