OSDN Git Service

FIRST REPOSITORY
[eos/hostdependOTHERS.git] / HP / util / HP / include / blt.h
1 /*
2  * blt.h --
3  *
4  * Copyright 1991-1998 by Bell Labs Innovations for Lucent
5  * Technologies.
6  *
7  * Permission to use, copy, modify, and distribute this software and
8  * its documentation for any purpose and without fee is hereby
9  * granted, provided that the above copyright notice appear in all
10  * copies and that both that the copyright notice and warranty
11  * disclaimer appear in supporting documentation, and that the names
12  * of Lucent Technologies any of their entities not be used in
13  * advertising or publicity pertaining to distribution of the software
14  * without specific, written prior permission.
15  *
16  * Lucent Technologies disclaims all warranties with regard to this
17  * software, including all implied warranties of merchantability and
18  * fitness.  In no event shall Lucent Technologies be liable for any
19  * special, indirect or consequential damages or any damages
20  * whatsoever resulting from loss of use, data or profits, whether in
21  * an action of contract, negligence or other tortuous action, arising
22  * out of or in connection with the use or performance of this
23  * software.
24  */
25
26 #ifndef _BLT_H
27 #define _BLT_H
28
29 #define BLT_MAJOR_VERSION       2
30 #define BLT_MINOR_VERSION       4
31 #define BLT_VERSION             "2.4"
32 #define BLT_PATCH_LEVEL         "2.4u"
33 #define BLT_RELEASE_SERIAL      0
34
35 #include <tcl.h>
36 #include <tk.h>
37
38 #ifndef EXPORT
39 #define EXPORT
40 #endif
41
42 #undef EXTERN
43
44 #ifdef __cplusplus
45 #   define EXTERN extern "C" EXPORT
46 #else
47 #   define EXTERN extern EXPORT
48 #endif
49
50 #ifndef _ANSI_ARGS_
51 #   define _ANSI_ARGS_(x)       ()
52 #endif
53
54 #include "bltVector.h"
55
56 EXTERN int Blt_GetOpenPrinter _ANSI_ARGS_((Tcl_Interp *interp, const char *id,
57         Drawable *drawablePtr));
58
59 EXTERN int Blt_StartPrintJob _ANSI_ARGS_((Tcl_Interp *interp, const char *id));
60
61 EXTERN int Blt_EndPrintJob _ANSI_ARGS_((Tcl_Interp *interp, const char *id));
62
63 typedef char *Blt_Uid;
64
65 EXTERN Blt_Uid Blt_GetUid _ANSI_ARGS_((char *string));
66 EXTERN void Blt_FreeUid _ANSI_ARGS_((Blt_Uid uid));
67 EXTERN Blt_Uid Blt_FindUid _ANSI_ARGS_((char *string));
68
69 #endif /*_BLT_H*/