imImSw.c revision 1ab64890
11ab64890Smrg/* $Xorg: imImSw.c,v 1.3 2000/08/17 19:45:12 cpqbld Exp $ */
21ab64890Smrg/******************************************************************
31ab64890Smrg
41ab64890Smrg          Copyright 1992, 1993 by FUJITSU LIMITED
51ab64890Smrg          Copyright 1993 by Digital Equipment Corporation
61ab64890Smrg
71ab64890SmrgPermission to use, copy, modify, distribute, and sell this software
81ab64890Smrgand its documentation for any purpose is hereby granted without fee,
91ab64890Smrgprovided that the above copyright notice appear in all copies and that
101ab64890Smrgboth that copyright notice and this permission notice appear in
111ab64890Smrgsupporting documentation, and that the name of FUJITSU LIMITED and
121ab64890SmrgDigital Equipment Corporation not be used in advertising or publicity
131ab64890Smrgpertaining to distribution of the software without specific, written
141ab64890Smrgprior permission.  FUJITSU LIMITED and Digital Equipment Corporation
151ab64890Smrgmakes no representations about the suitability of this software for
161ab64890Smrgany purpose.  It is provided "as is" without express or implied
171ab64890Smrgwarranty.
181ab64890Smrg
191ab64890SmrgFUJITSU LIMITED AND DIGITAL EQUIPMENT CORPORATION DISCLAIM ALL
201ab64890SmrgWARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED
211ab64890SmrgWARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
221ab64890SmrgFUJITSU LIMITED AND DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR
231ab64890SmrgANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
241ab64890SmrgWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
251ab64890SmrgIN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
261ab64890SmrgARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
271ab64890SmrgTHIS SOFTWARE.
281ab64890Smrg
291ab64890Smrg  Author:    Takashi Fujiwara     FUJITSU LIMITED
301ab64890Smrg                               	  fujiwara@a80.tech.yk.fujitsu.co.jp
311ab64890Smrg  Modifier:  Franky Ling          Digital Equipment Corporation
321ab64890Smrg	                          frankyling@hgrd01.enet.dec.com
331ab64890Smrg
341ab64890Smrg******************************************************************/
351ab64890Smrg/* $XFree86: xc/lib/X11/imImSw.c,v 1.3 2001/01/17 19:41:51 dawes Exp $ */
361ab64890Smrg
371ab64890Smrg#ifdef HAVE_CONFIG_H
381ab64890Smrg#include <config.h>
391ab64890Smrg#endif
401ab64890Smrg#include "Xlibint.h"
411ab64890Smrg#include "Xlcint.h"
421ab64890Smrg#include "Ximint.h"
431ab64890Smrg#include "XimImSw.h"
441ab64890Smrg
451ab64890SmrgPrivate Bool
461ab64890Smrg_XimCheckIfDefault(
471ab64890Smrg    Xim		im)
481ab64890Smrg{
491ab64890Smrg    return(True);
501ab64890Smrg}
511ab64890Smrg
521ab64890SmrgXimImsportSW _XimImSportRec[] = {
531ab64890Smrg    { _XimCheckIfLocalProcessing, _XimLocalOpenIM, _XimLocalIMFree },
541ab64890Smrg    { _XimCheckIfThaiProcessing,	_XimThaiOpenIM,	 _XimThaiIMFree },
551ab64890Smrg    { _XimCheckIfDefault,         _XimProtoOpenIM, _XimProtoIMFree },
561ab64890Smrg    { NULL,                       NULL,		 NULL },
571ab64890Smrg};
58