KWWidgets
vtkKWBWidgetsInit.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Module: $RCSfile: vtkKWBWidgetsInit.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 vtkKWBWidgetsInit - class used to initialize BWidgets
15 // .SECTION Description
16 // This class is used to initialize the BWidgets library.
17 
18 #ifndef __vtkKWBWidgetsInit_h
19 #define __vtkKWBWidgetsInit_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 vtkKWBWidgetsInit : public vtkObject
26 {
27 public:
28  static vtkKWBWidgetsInit* New();
29  vtkTypeRevisionMacro(vtkKWBWidgetsInit,vtkObject);
30  void PrintSelf(ostream& os, vtkIndent indent);
31 
32  // Description:
33  // Load the BWidgets library.
34  static void Initialize(Tcl_Interp*);
35 
36 protected:
39 
40  static int Initialized;
41 
42 private:
43  vtkKWBWidgetsInit(const vtkKWBWidgetsInit&); // Not implemented.
44  void operator=(const vtkKWBWidgetsInit&); // Not implemented.
45 };
46 
47 #endif