Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > media > contrib-release > by-pkgid > 933a699e211f751df6bbd34ad09e0d1a > files > 7

lib64Xbae-devel-4.60.4-3mdv2009.1.x86_64.rpm

/*
 * Copyright(c) 1999 Andrew Lister
 * Copyright (c) 1999-2002 by the LessTif Developers.
 *
 *                        All rights reserved
 * Permission to use, copy, modify and distribute this material for
 * any purpose and without fee is hereby granted, provided that the
 * above copyright notice and this permission notice appear in all
 * copies, and that the name of the author not be used in advertising
 * or publicity pertaining to this material without the specific,
 * prior written permission of the author.
 *
 * THE AUTHOR MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX-
 * PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT
 * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
 * FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN-
 * FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS.  THE
 * SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL THE AUTHOR OR
 * ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY
 * LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT-
 * ING TO THE SOFTWARE.
 *
 * Author: Andrew Lister
 *
 * $Id: InputP.h,v 1.8 2002/03/08 16:12:23 amai Exp $
 */

#ifndef _Xbae_InputP_h
#define _Xbae_InputP_h

#include <Xbae/Input.h>
#include <Xm/PrimitiveP.h>
#include <Xm/TextP.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef struct _XbaeInputClassPart
{
    void *extension;
}
XbaeInputClassPart;

typedef struct _XbaeInputClassRec
{
    CoreClassPart core_class;
    XmPrimitiveClassPart primitive_class;
    XmTextClassPart text_class;
    XbaeInputClassPart input_class;
}
XbaeInputClassRec;

externalref XbaeInputClassRec xbaeInputClassRec;

typedef struct _XbaeInputPart
{
    /* Public resources */
    unsigned char alignment;
    Boolean auto_fill;
    Boolean overwrite_mode;
    String pattern;
    XtCallbackList validate_callback;
    Boolean convert_case;
    /* Internal resources */
    int pattern_length;
    XmTextPosition last_insert;
    char *literal_pending;
    int literal_count;
}
XbaeInputPart;

typedef struct _XbaeInputRec
{
    CorePart core;
    XmPrimitivePart primitive;
    XmTextPart text;
    XbaeInputPart input;
}
XbaeInputRec;
    
#ifdef __cplusplus
}
#endif

#endif /* _Xbae_InputP_h */