2
* Copyright(c) 1999 Andrew Lister
5
* Permission to use, copy, modify and distribute this material for
6
* any purpose and without fee is hereby granted, provided that the
7
* above copyright notice and this permission notice appear in all
8
* copies, and that the name of the author not be used in advertising
9
* or publicity pertaining to this material without the specific,
10
* prior written permission of the author.
12
* THE AUTHOR MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX-
13
* PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT
14
* NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
15
* FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN-
16
* FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE
17
* SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL THE AUTHOR OR
18
* ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY
19
* LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT-
20
* ING TO THE SOFTWARE.
22
* Author: Andrew Lister
33
#ifndef XlibSpecificationRelease
34
# ifndef _XFUNCPROTOBEGIN
35
# ifdef __cplusplus /* for C++ V2.0 */
36
# define _XFUNCPROTOBEGIN extern "C" { /* do not leave open across includes */
37
# define _XFUNCPROTOEND }
39
# define _XFUNCPROTOBEGIN
40
# define _XFUNCPROTOEND
42
# endif /* _XFUNCPROTOBEGIN */
44
#include <X11/Xfuncproto.h>
51
typedef struct _XbaeInputClassRec *XbaeInputWidgetClass;
52
typedef struct _XbaeInputRec *XbaeInputWidget;
54
externalref WidgetClass xbaeInputWidgetClass;
57
#define XmNautoFill "autoFill"
59
#ifndef XmNoverwriteMode
60
#define XmNoverwriteMode "overwriteMode"
63
#define XmNpattern "pattern"
65
#ifndef XmNvalidateCallback
66
#define XmNvalidateCallback "validateCallback"
68
#ifndef XmNoutputFormat
69
#define XmNoutputFormat "outputFormat"
71
#ifndef XmNconvertCase
72
#define XmNconvertCase "convertCase"
79
#if defined(__STDC__) || defined (__cplusplus)
89
extern Widget XbaeCreateInput P((Widget, String, ArgList, Cardinal));
92
typedef struct _XbaeInputValidateCallbackStruct
100
XbaeInputValidateCallbackStruct;
102
#ifndef XbaeIsXbaeInput
103
#define XbaeIsXbaeInput(w) XtIsSubclass(w, xbaeInputWidgetClass)
104
#endif /* XbaeIsXbaeInput */
107
} /* Close scope of 'extern "C"' declaration which encloses file. */