KWWidgets
vtkKWTkconInit.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Module: $RCSfile: vtkKWTkconInit.h,v $
4 
5  Copyright (c) Kitware, Inc.
6  All rights reserved.
7  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notice for more information.
12 
13 =========================================================================*/
14 // .NAME vtkKWTkconInit - class used to initialize Tkcon
15 // .SECTION Description
16 // This class is used to initialize the Tkcon library.
17 
18 #ifndef __vtkKWTkconInit_h
19 #define __vtkKWTkconInit_h
20 
21 #include "vtkObject.h"
22 #include "vtkKWWidgets.h" // Needed for export symbols directives
23 #include "vtkTcl.h" // Needed for Tcl interpreter
24 
25 class KWWidgets_EXPORT vtkKWTkconInit : public vtkObject
26 {
27 public:
28  static vtkKWTkconInit* New();
29  vtkTypeRevisionMacro(vtkKWTkconInit,vtkObject);
30  void PrintSelf(ostream& os, vtkIndent indent);
31 
32  // Description:
33  // Load the Tkcon library.
34  static void Initialize(Tcl_Interp*);
36 
37 protected:
40 
41  static int Initialized;
42 
43 private:
44  vtkKWTkconInit(const vtkKWTkconInit&); // Not implemented.
45  void operator=(const vtkKWTkconInit&); // Not implemented.
46 };
47 
48 #endif