Back to index

im-sdk  12.3.91
Functions | Variables
default.c File Reference
#include "SunIM.h"

Go to the source code of this file.

Functions

Bool if_default_OpenIF (iml_if_t *If)
Bool if_default_CloseIF (iml_if_t *If)
Bool if_default_GetIFValue (iml_if_t *If, IMArgList args, int num_args)
Bool if_default_SetIFValue (iml_if_t *If, IMArgList args, int num_args)
Bool if_default_OpenDesktop (iml_desktop_t *desktop, IMArgList args, int num_args)
Bool if_default_CloseDesktop (iml_desktop_t *desktop)
Bool if_default_CreateSC (iml_session_t *s, IMArgList args, int num_args)
Bool if_default_DestroySC (iml_session_t *s)
Bool if_default_GetSCValue (iml_session_t *s, IMArgList args, int num_args)
Bool if_default_SetSCValue (iml_session_t *s, IMArgList args, int num_args)
IMTextif_default_ResetSC (iml_session_t *s)
void if_default_SetSCFocus (iml_session_t *s)
void if_default_UnsetSCFocus (iml_session_t *s)
void if_default_SendEvent (iml_session_t *s, IMInputEvent *ev)
void if_GetIfInfo (IMArgList args, int num_args)

Variables

if_methods_t default_methods
UTFCHAR lename_string [] = {'d', 'e', 'f', 'a', 'u', 'l', 't', 0}
UTFCHAR hrn_string [] = {'d', 'i', 's', 'a', 'b', 'l', 'e', 'd', 0}
static IMLEName lename
static IMLocale locales []
static IMObjectDescriptorStructobjects = NULL

Function Documentation

Definition at line 180 of file default.c.

{
    return True;
}

Definition at line 150 of file default.c.

{
    return True;
}
Bool if_default_CreateSC ( iml_session_t s,
IMArgList  args,
int  num_args 
)

Definition at line 186 of file default.c.

{
    return True;
}

Definition at line 194 of file default.c.

{
    return True;
}
Bool if_default_GetIFValue ( iml_if_t If,
IMArgList  args,
int  num_args 
)

Definition at line 156 of file default.c.

{
    return True;
}
Bool if_default_GetSCValue ( iml_session_t s,
IMArgList  args,
int  num_args 
)

Definition at line 200 of file default.c.

{
    return True;
}
Bool if_default_OpenDesktop ( iml_desktop_t desktop,
IMArgList  args,
int  num_args 
)

Definition at line 172 of file default.c.

{
    return True;
}

Definition at line 144 of file default.c.

{
    return True;
}

Definition at line 216 of file default.c.

{
    return (IMText *)NULL;
}

Definition at line 232 of file default.c.

{
    if (ev) {
       if (ev->type == IM_EventKeyList) {
           iml_inst *lp;

           lp = s->If->m->iml_make_keypress_inst(s, (IMKeyEventStruct *)((IMKeyListEvent *)ev)->keylist);
           s->If->m->iml_execute(s, &lp);
       }
    }
}
Bool if_default_SetIFValue ( iml_if_t If,
IMArgList  args,
int  num_args 
)

Definition at line 164 of file default.c.

{
    return True;
}

Definition at line 222 of file default.c.

{
}
Bool if_default_SetSCValue ( iml_session_t s,
IMArgList  args,
int  num_args 
)

Definition at line 208 of file default.c.

{
    return True;
}

Definition at line 227 of file default.c.

{
}
void if_GetIfInfo ( IMArgList  args,
int  num_args 
)

Definition at line 109 of file default.c.

{
    int i;

    for (i = 0; i < num_args; i++, args++) {
       switch (args->id) {
           case IF_VERSION:
              args->value = (IMArgVal) "1.2";
              break;
           case IF_METHOD_TABLE:
              args->value = (IMArgVal) &default_methods;
              break;
           case IF_LE_NAME:
              args->value = (IMArgVal) &lename;
              break;
           case IF_SUPPORTED_LOCALES:
              args->value = (IMArgVal) &locales;
              break;
           case IF_SUPPORTED_OBJECTS:
              args->value = (IMArgVal) objects;
              break;
           case IF_NEED_THREAD_LOCK:
              args->value = (IMArgVal) False;
              break;
           default:
              break;
       }
    }
}

Variable Documentation

UTFCHAR hrn_string[] = {'d', 'i', 's', 'a', 'b', 'l', 'e', 'd', 0}

Definition at line 96 of file default.c.

IMLEName lename [static]
Initial value:
 {
    "default", lename_string
}

Definition at line 98 of file default.c.

UTFCHAR lename_string[] = {'d', 'e', 'f', 'a', 'u', 'l', 't', 0}

Definition at line 95 of file default.c.

IMLocale locales[] [static]
Initial value:
 {
    {"en", hrn_string},
    {NULL, NULL},
}

Definition at line 101 of file default.c.

Definition at line 105 of file default.c.