KWWidgets
|
00001 /*========================================================================= 00002 00003 Module: $RCSfile: vtkKWBWidgetsInit.h,v $ 00004 00005 Copyright (c) Kitware, Inc. 00006 All rights reserved. 00007 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00008 00009 This software is distributed WITHOUT ANY WARRANTY; without even 00010 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00011 PURPOSE. See the above copyright notice for more information. 00012 00013 =========================================================================*/ 00014 // .NAME vtkKWBWidgetsInit - class used to initialize BWidgets 00015 // .SECTION Description 00016 // This class is used to initialize the BWidgets library. 00017 00018 #ifndef __vtkKWBWidgetsInit_h 00019 #define __vtkKWBWidgetsInit_h 00020 00021 #include "vtkObject.h" 00022 #include "vtkKWWidgets.h" // Needed for export symbols directives 00023 #include "vtkTcl.h" // Needed for Tcl interpreter 00024 00025 class KWWidgets_EXPORT vtkKWBWidgetsInit : public vtkObject 00026 { 00027 public: 00028 static vtkKWBWidgetsInit* New(); 00029 vtkTypeRevisionMacro(vtkKWBWidgetsInit,vtkObject); 00030 void PrintSelf(ostream& os, vtkIndent indent); 00031 00032 // Description: 00033 // Load the BWidgets library. 00034 static void Initialize(Tcl_Interp*); 00035 00036 protected: 00037 vtkKWBWidgetsInit() {}; 00038 ~vtkKWBWidgetsInit() {}; 00039 00040 static int Initialized; 00041 00042 private: 00043 vtkKWBWidgetsInit(const vtkKWBWidgetsInit&); // Not implemented. 00044 void operator=(const vtkKWBWidgetsInit&); // Not implemented. 00045 }; 00046 00047 #endif