Back to index

im-sdk  12.3.91
Defines | Functions | Variables
XIMProtocol.cpp File Reference
#include <stdio.h>
#include <sys/types.h>
#include <netinet/in.h>
#include "IMProtocolStruct.h"
#include "XIMProtocol.hh"
#include "XIMPInputContext.hh"
#include "XIMProto.hh"
#include "Xfactory.hh"
#include <X11/Xutil.h>

Go to the source code of this file.

Defines

#define INTERN(s)   XInternAtom(display, s, False)
#define SETPROPERTY(p, t, f, d, n)

Functions

static char * NextLocaleName (char **list)

Variables

static XIMStyle ximp_styles []
static XIMStyle ximp_styles2 []

Define Documentation

#define INTERN (   s)    XInternAtom(display, s, False)
#define SETPROPERTY (   p,
  t,
  f,
  d,
 
)
Value:
XChangeProperty(display, im_window, p, \
                                             t, f, PropModeReplace, \
                                             (unsigned char *)d, n)

Function Documentation

static char* NextLocaleName ( char **  list) [static]

Definition at line 258 of file XIMProtocol.cpp.

                            {
  char *p;
    
  for (p = *list; **list && **list != ','; (*list)++);
  if (**list == ',') {
    **list = '\0';
    (*list)++;
  } else if (p == *list) {
    p = (char *)NULL;
  }
  return(p);
}

Here is the caller graph for this function:


Variable Documentation

XIMStyle ximp_styles[] [static]
Initial value:
 {
  XIMPreeditCallbacks |XIMStatusCallbacks,
  XIMPreeditCallbacks | XIMStatusArea,
  XIMPreeditCallbacks | XIMStatusNothing,
  XIMPreeditPosition  | XIMStatusCallbacks,
  XIMPreeditPosition  | XIMStatusArea,
  XIMPreeditPosition  | XIMStatusNothing,
  XIMPreeditArea      | XIMStatusCallbacks,
  XIMPreeditArea      | XIMStatusArea,
  XIMPreeditArea      | XIMStatusNothing,
  XIMPreeditNothing   | XIMStatusCallbacks,
  XIMPreeditNothing   | XIMStatusArea,
  XIMPreeditNothing   | XIMStatusNothing,
  XIMPreeditCallbacks | XIMStatusNone,
  XIMPreeditPosition  | XIMStatusNone,
  XIMPreeditArea      | XIMStatusNone,
  XIMPreeditNothing   | XIMStatusNone,
  XIMPreeditNone      | XIMStatusCallbacks,
  XIMPreeditNone      | XIMStatusArea,
  XIMPreeditNone      | XIMStatusNothing,
  XIMPreeditNone      | XIMStatusNone
}

Definition at line 53 of file XIMProtocol.cpp.

XIMStyle ximp_styles2[] [static]
Initial value:
 {
  XIMPreeditCallbacks | XIMStatusNone,
  XIMPreeditPosition  | XIMStatusNone,
  XIMPreeditArea      | XIMStatusNone,
  XIMPreeditNothing   | XIMStatusNone,
  XIMPreeditNone      | XIMStatusNone
}

Definition at line 77 of file XIMProtocol.cpp.