|
||||
File indexing completed on 2025-01-30 10:26:36
0001 /* 0002 * Copyright 1991 by OMRON Corporation 0003 * 0004 * Permission to use, copy, modify, distribute, and sell this software and its 0005 * documentation for any purpose is hereby granted without fee, provided that 0006 * the above copyright notice appear in all copies and that both that 0007 * copyright notice and this permission notice appear in supporting 0008 * documentation, and that the name OMRON not be used in 0009 * advertising or publicity pertaining to distribution of the software without 0010 * specific, written prior permission. OMRON makes no representations 0011 * about the suitability of this software for any purpose. It is provided 0012 * "as is" without express or implied warranty. 0013 * 0014 * OMRON DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 0015 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 0016 * EVENT SHALL OMRON BE LIABLE FOR ANY SPECIAL, INDIRECT OR 0017 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 0018 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 0019 * TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 0020 * PERFORMANCE OF THIS SOFTWARE. 0021 * 0022 * Author: Li Yuhong OMRON Corporation 0023 */ 0024 0025 /* 0026 0027 Copyright 1989, 1991, 1994, 1998 The Open Group 0028 0029 Permission to use, copy, modify, distribute, and sell this software and its 0030 documentation for any purpose is hereby granted without fee, provided that 0031 the above copyright notice appear in all copies and that both that 0032 copyright notice and this permission notice appear in supporting 0033 documentation. 0034 0035 The above copyright notice and this permission notice shall be included in 0036 all copies or substantial portions of the Software. 0037 0038 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 0039 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 0040 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 0041 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 0042 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 0043 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 0044 0045 Except as contained in this notice, the name of The Open Group shall not be 0046 used in advertising or otherwise to promote the sale, use or other dealings 0047 in this Software without prior written authorization from The Open Group. 0048 0049 */ 0050 0051 /* 0052 * This file was modified from AsciiSrc.h. 0053 * 0054 * By Li Yuhong, Sept. 18, 1990 0055 */ 0056 0057 #ifndef _XawMultiSrc_h 0058 #define _XawMultiSrc_h 0059 0060 #include <X11/Xaw/TextSrc.h> 0061 0062 /* Resources: 0063 0064 Name Class RepType Default Value 0065 ---- ----- ------- ------------- 0066 dataCompression DataCompression Boolean True 0067 length Length int (internal) 0068 pieceSize PieceSize int BUFSIZ 0069 string String String NULL 0070 type Type XawAsciiType XawAsciiString 0071 useStringInPlace UseStringInPlace Boolean False 0072 0073 */ 0074 0075 extern WidgetClass multiSrcObjectClass; 0076 0077 typedef struct _MultiSrcClassRec *MultiSrcObjectClass; 0078 typedef struct _MultiSrcRec *MultiSrcObject; 0079 0080 #define MultiSourceObjectClass MultiSrcObjectClass 0081 #define MultiSourceObject MultiSrcObject 0082 0083 #define XtCDataCompression "DataCompression" 0084 #define XtCPieceSize "PieceSize" 0085 #define XtCType "Type" 0086 #define XtCUseStringInPlace "UseStringInPlace" 0087 0088 #define XtNdataCompression "dataCompression" 0089 #define XtNpieceSize "pieceSize" 0090 #define XtNtype "type" 0091 #define XtNuseStringInPlace "useStringInPlace" 0092 0093 #define XtRMultiType "MultiType" 0094 0095 #define XtEstring "string" 0096 #define XtEfile "file" 0097 0098 /************************************************************ 0099 * 0100 * THESE ROUTINES ARE NOT PUBLIC: Source should call 0101 * 0102 * the AsciiSrc API which currently forwards requests here. 0103 * 0104 * future versions (like there's going to be an R7 Xaw!) may 0105 * 0106 * eliminate this file or at least these functions entirely. 0107 * 0108 ************************************************************/ 0109 0110 _XFUNCPROTOBEGIN 0111 0112 void XawMultiSourceFreeString 0113 ( 0114 Widget w 0115 ); 0116 0117 Bool _XawMultiSave 0118 ( 0119 Widget w 0120 ); 0121 0122 Bool _XawMultiSaveAsFile 0123 ( 0124 Widget w, 0125 _Xconst char *name 0126 ); 0127 0128 _XFUNCPROTOEND 0129 0130 #endif /* _XawMultiSrc_h */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |