Annotation of researchv9/X11/src/X.V11R1/lib/oldXrm/XrmConvert.h, revision 1.1.1.1

1.1       root        1: /* $Header: XrmConvert.h,v 1.1 87/09/11 08:16:13 toddb Exp $ */
                      2: /*
                      3:  *     sccsid: @(#)XrmConvert.h        1.1     2/25/87
                      4:  */
                      5: 
                      6: /*
                      7:  * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
                      8:  * 
                      9:  *                         All Rights Reserved
                     10:  * 
                     11:  * Permission to use, copy, modify, and distribute this software and its 
                     12:  * documentation for any purpose and without fee is hereby granted, 
                     13:  * provided that the above copyright notice appear in all copies and that
                     14:  * both that copyright notice and this permission notice appear in 
                     15:  * supporting documentation, and that the name of Digital Equipment
                     16:  * Corporation not be used in advertising or publicity pertaining to
                     17:  * distribution of the software without specific, written prior permission.  
                     18:  * 
                     19:  * 
                     20:  * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
                     21:  * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
                     22:  * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
                     23:  * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
                     24:  * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
                     25:  * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
                     26:  * SOFTWARE.
                     27:  */
                     28: 
                     29: 
                     30: /* 
                     31:  * XrmConvert.h - more resource manager private definitions
                     32:  * 
                     33:  * Author:     joel
                     34:  *             Digital Equipment Corporation
                     35:  *             Western Research Laboratory
                     36:  * Date:       Sat Mar 26 1987
                     37:  */
                     38: 
                     39: #ifndef _XrmConvert_h_
                     40: #define _XrmConvert_h_
                     41: 
                     42: typedef XrmQuark     XrmRepresentation;
                     43: #define XrmAtomToRepresentation(atom)    ((XrmRepresentation)XrmAtomToQuark(atom))
                     44: #define        XrmRepresentationToAtom(type)   (XrmQuarkToAtom((XrmQuark) type))
                     45: 
                     46: 
                     47: extern void XrmRegisterTypeConverter(); /* fromType, toType, convertProc */
                     48:   /*  XrmRepresentation        fromType, toType;   */
                     49:   /*  ConvertTypeProc  convertProc;        */
                     50: 
                     51: extern void XrmConvert(); /* dpy, fromType, from, toType, to */
                     52:   /*  XrmRepresentation        fromType;   */
                     53:   /*  XrmValue         from;       */
                     54:   /*  XrmRepresentation        toType;     */
                     55:   /*  XrmValue         *to;        */
                     56: 
                     57: extern void _XrmConvert(); /* dpy, fromType, from, toType to */
                     58:   /*  Display          *dpy;      */
                     59:   /*  XrmRepresentation        fromType;  */
                     60:   /*  XrmValue         from;      */
                     61:   /*  XrmRepresentation        toType;    */
                     62:   /*  XrmValue         *to;       */
                     63: 
                     64: void _XrmRegisterTypeConverter(); /* fromType, toType, convertProc */
                     65:   /* XrmRepresentation         fromType, toType; */
                     66:   /*  XrmTypeConverter         convertProc;  */
                     67: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.