Back to index

im-sdk  12.3.91
Functions | Variables
le_interface.c File Reference
#include <stdio.h>
#include "le_object.h"
#include "le_info.h"

Go to the source code of this file.

Functions

Bool if_le_OpenIF (iml_if_t *)
Bool if_le_CloseIF (iml_if_t *)
Bool if_le_GetIFValue (iml_if_t *, IMArgList, int)
Bool if_le_SetIFValue (iml_if_t *, IMArgList, int)
Bool if_le_OpenDesktop (iml_desktop_t *, IMArgList, int)
Bool if_le_CloseDesktop (iml_desktop_t *)
Bool if_le_CreateSC (iml_session_t *, IMArgList, int)
Bool if_le_DestroySC (iml_session_t *)
Bool if_le_GetSCValue (iml_session_t *, IMArgList, int)
Bool if_le_SetSCValue (iml_session_t *, IMArgList, int)
IMTextif_le_ResetSC (iml_session_t *)
void if_le_SetSCFocus (iml_session_t *)
void if_le_UnsetSCFocus (iml_session_t *)
void if_le_SendEvent (iml_session_t *, IMInputEvent *ev)
void if_GetIfInfo (IMArgList args, int num_args)

Variables

if_methods_t le_methods
LeInfoRecle_info = NULL
LeObjectRecle_object = NULL

Function Documentation

void if_GetIfInfo ( IMArgList  args,
int  num_args 
)

Definition at line 43 of file le_interface.c.

{
    int i;

    DEBUG_printf("if_GetIfInfo(), num_args: %d\n", num_args);

    if (le_object == NULL) {
        le_object = (LeObjectRec *)le_object_new();
    }
    if (le_object == NULL)
        return;

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

Here is the call graph for this function:

Bool if_le_CreateSC ( iml_session_t s,
IMArgList  args,
int  num_args 
)
Bool if_le_GetIFValue ( iml_if_t If,
IMArgList  args,
int  num_args 
)
Bool if_le_GetSCValue ( iml_session_t s,
IMArgList  args,
int  num_args 
)
Bool if_le_OpenDesktop ( iml_desktop_t desktop,
IMArgList  args,
int  num_args 
)
void if_le_SendEvent ( iml_session_t s,
IMInputEvent ev 
)
Bool if_le_SetIFValue ( iml_if_t If,
IMArgList  args,
int  num_args 
)
Bool if_le_SetSCValue ( iml_session_t s,
IMArgList  args,
int  num_args 
)

Variable Documentation

Definition at line 39 of file le_interface.c.

Definition at line 40 of file le_interface.c.