| 1 |
/* @(#)uxproto.h 17.1 (ESO-IPG) 01/25/02 17:26:06 */ |
| 2 |
/*--------------------------------------------------------------------- |
| 3 |
* $Date: 2003-06-04 14:49:18 $ $Revision: 1.1.1.1 $ |
| 4 |
*--------------------------------------------------------------------- |
| 5 |
* |
| 6 |
* |
| 7 |
* Copyright (c) 1992, Visual Edge Software Ltd. |
| 8 |
* |
| 9 |
* ALL RIGHTS RESERVED. Permission to use, copy, modify, and |
| 10 |
* distribute this software and its documentation for any purpose |
| 11 |
* and without fee is hereby granted, provided that the above |
| 12 |
* copyright notice appear in all copies and that both that |
| 13 |
* copyright notice and this permission notice appear in supporting |
| 14 |
* documentation, and that the name of Visual Edge Software not be |
| 15 |
* used in advertising or publicity pertaining to distribution of |
| 16 |
* the software without specific, written prior permission. The year |
| 17 |
* included in the notice is the year of the creation of the work. |
| 18 |
*--------------------------------------------------------------------- |
| 19 |
* Contains definitions of macros and types used by all files. |
| 20 |
*-------------------------------------------------------------------*/ |
| 21 |
|
| 22 |
#ifndef UXPROTO_H |
| 23 |
#define UXPROTO_H |
| 24 |
|
| 25 |
|
| 26 |
/*--- include files ---*/ |
| 27 |
|
| 28 |
/*--- macro symbolic constants ---*/ |
| 29 |
|
| 30 |
#ifdef _NO_PROTO |
| 31 |
#define UXPROTO(x) () |
| 32 |
#else |
| 33 |
#define UXPROTO(x) x |
| 34 |
#endif |
| 35 |
|
| 36 |
/*--- macro functions ---*/ |
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
/*--- types ---*/ |
| 41 |
typedef struct object *Object_t; |
| 42 |
typedef struct UxClass_st *Class_t; |
| 43 |
|
| 44 |
/* DESIGN_TIME swidget definition */ |
| 45 |
|
| 46 |
#ifdef DESIGN_TIME |
| 47 |
typedef struct ShadowWidget *swidget; |
| 48 |
#endif |
| 49 |
|
| 50 |
typedef int UxStatus_t; /* Valid values: [UxERROR, UxNO_ERROR] */ |
| 51 |
|
| 52 |
/*------------------------------------------------------------------- |
| 53 |
* PRIVATE_SWIDGET should be defined if the developer must have |
| 54 |
* access to the internals of the swidget class. |
| 55 |
*------------------------------------------------------------------- |
| 56 |
* Special Case: these includes must go after the typedefs section |
| 57 |
* in order to satisfy the interpreter. |
| 58 |
*-------------------------------------------------------------------*/ |
| 59 |
#ifdef PRIVATE_SWIDGET |
| 60 |
#include "veos.h" |
| 61 |
#include "swidget.h" |
| 62 |
#endif /* PRIVATE_SWIDGET */ |
| 63 |
|
| 64 |
/*--- external functions ---*/ |
| 65 |
|
| 66 |
/*--- external variables ---*/ |
| 67 |
|
| 68 |
#endif /* UXPROTO_H */ |
| 69 |
|
| 70 |
/*--- end of file ---*/ |