PLplot  5.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
pltk.h
Go to the documentation of this file.
1 // $Id: pltk.h 11295 2010-11-01 22:19:45Z airwin $
2 //
3 // Maurice LeBrun
4 // 28-Apr-95
5 //
6 // Declarations for PLplot/TK utility routines.
7 //
8 
9 #ifndef __PLTK_H__
10 #define __PLTK_H__
11 
12 #include "pltcl.h"
13 #include <tk.h>
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 // Generic initialization routine for extended wish'es.
20 
21 #ifdef BUILD_Plplot
22 #undef TCL_STORAGE_CLASS
23 #define TCL_STORAGE_CLASS DLLEXPORT
24 #endif // BUILD_Vfs
25 
26 EXTERN PLDLLIMPEXP_TCLTK int
27 Pltk_Init( Tcl_Interp *interp );
28 
29 // Main program for wish, with PLplot extensions.
30 
31 EXTERN PLDLLIMPEXP_TCLTK int
32 pltkMain( int argc, const char **argv, char *RcFileName,
33  int ( *AppInit )( Tcl_Interp *interp ) );
34 
35 #ifdef __cplusplus
36 }
37 #endif
38 
39 #endif // __PLTK_H__