1 // Maurice LeBrun
2 // 28-Apr-95
3 //
4 // Declarations for PLplot/TK utility routines.
5 //
6 
7 #ifndef __PLTK_H__
8 #define __PLTK_H__
9 
10 #include "pltcl.h"
11 #include <tk.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 // Generic initialization routine for extended wish'es.
18 
19 #ifdef BUILD_Plplot
20 #undef TCL_STORAGE_CLASS
21 #define TCL_STORAGE_CLASS    DLLEXPORT
22 #endif // BUILD_Vfs
23 
24 EXTERN PLDLLIMPEXP_TCLTK int
25 Pltk_Init( Tcl_Interp *interp );
26 
27 // Main program for wish, with PLplot extensions.
28 
29 EXTERN PLDLLIMPEXP_TCLTK int
30 pltkMain( int argc, const char **argv, char *RcFileName,
31           int ( *AppInit )( Tcl_Interp *interp ) );
32 
33 #ifdef __cplusplus
34 }
35 #endif
36 
37 #endif  // __PLTK_H__
38