Mercurial > kinput2.yaz
comparison include/Ruby.h @ 16:598fcbe482b5
imported patch 19_kinput2-v3.1-ruby.patch
| author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
|---|---|
| date | Mon, 08 Mar 2010 20:38:17 +0900 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 15:89750191b165 | 16:598fcbe482b5 |
|---|---|
| 1 /* $Id: Ruby.h,v 1.2 2003/06/10 02:11:19 komatsu Exp $ */ | |
| 2 /* | |
| 3 * Copyright (c) 1990 Software Research Associates, Inc. | |
| 4 * | |
| 5 * Permission to use, copy, modify, and distribute this software and its | |
| 6 * documentation for any purpose and without fee is hereby granted, provided | |
| 7 * that the above copyright notice appear in all copies and that both that | |
| 8 * copyright notice and this permission notice appear in supporting | |
| 9 * documentation, and that the name of Software Research Associates not be | |
| 10 * used in advertising or publicity pertaining to distribution of the | |
| 11 * software without specific, written prior permission. Software Research | |
| 12 * Associates makes no representations about the suitability of this software | |
| 13 * for any purpose. It is provided "as is" without express or implied | |
| 14 * warranty. | |
| 15 * | |
| 16 * Author: Makoto Ishisone, Software Research Associates, Inc., Japan | |
| 17 */ | |
| 18 | |
| 19 /* Copyright 1991 NEC Corporation, Tokyo, Japan. | |
| 20 * | |
| 21 * Permission to use, copy, modify, and distribute this software and its | |
| 22 * documentation for any purpose and without fee is hereby granted, | |
| 23 * provided that the above copyright notice appear in all copies and that | |
| 24 * both that copyright notice and this permission notice appear in | |
| 25 * supporting documentation, and that the name of NEC Corporation | |
| 26 * not be used in advertising or publicity pertaining to distribution | |
| 27 * of the software without specific, written prior permission. NEC | |
| 28 * Corporation makes no representations about the suitability of this | |
| 29 * software for any purpose. It is provided "as is" without express | |
| 30 * or implied warranty. | |
| 31 * | |
| 32 * NEC CORPORATION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, | |
| 33 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN | |
| 34 * NO EVENT SHALL NEC CORPORATION BE LIABLE FOR ANY SPECIAL, INDIRECT OR | |
| 35 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF | |
| 36 * USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR | |
| 37 * OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR | |
| 38 * PERFORMANCE OF THIS SOFTWARE. | |
| 39 * | |
| 40 * Author: Akira Kon, NEC Corporation. (kon@d1.bs2.mt.nec.co.jp) | |
| 41 */ | |
| 42 | |
| 43 #ifndef _Ruby_h | |
| 44 #define _Ruby_h | |
| 45 | |
| 46 #include "InputConv.h" | |
| 47 | |
| 48 /* | |
| 49 Ruby new resources: | |
| 50 | |
| 51 name class type default access | |
| 52 ---------------------------------------------------------------------------- | |
| 53 rubyhost Rubyhost String *1 CG | |
| 54 rubyfile Rubyfile String *2 CG | |
| 55 | |
| 56 note: *1) if not specified, use value of an environment variable "RUBYHOST" | |
| 57 *2) if not specified, use value of an environment variable "RUBYFILE" | |
| 58 */ | |
| 59 | |
| 60 #define XtNrubyhost "rubyhost" | |
| 61 #define XtCRubyhost "Rubyhost" | |
| 62 #define XtNrubyfile "rubyfile" | |
| 63 #define XtCRubyfile "Rubyfile" | |
| 64 #define XtNsendReturnByString "sendReturnByString" | |
| 65 #define XtCSendReturnByString "SendReturnByString" | |
| 66 | |
| 67 typedef struct _RubyClassRec *RubyObjectClass; | |
| 68 typedef struct _RubyRec *RubyObject; | |
| 69 | |
| 70 extern WidgetClass rubyObjectClass; | |
| 71 | |
| 72 #endif /* _Ruby_h */ | |
| 73 |
