KWWidgets
vtkKWTkconInit.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Module:    $RCSfile: vtkKWTkconInit.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 vtkKWTkconInit - class used to initialize Tkcon
00015 // .SECTION Description
00016 // This class is used to initialize the Tkcon library.
00017 
00018 #ifndef __vtkKWTkconInit_h
00019 #define __vtkKWTkconInit_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 vtkKWTkconInit : public vtkObject
00026 {
00027 public:
00028   static vtkKWTkconInit* New();
00029   vtkTypeRevisionMacro(vtkKWTkconInit,vtkObject);
00030   void PrintSelf(ostream& os, vtkIndent indent);
00031 
00032   // Description:
00033   // Load the Tkcon library.
00034   static void Initialize(Tcl_Interp*);
00035   static int GetInitialized() { return vtkKWTkconInit::Initialized; }
00036 
00037 protected:
00038   vtkKWTkconInit() {};
00039   ~vtkKWTkconInit() {};
00040 
00041   static int Initialized;
00042 
00043 private:
00044   vtkKWTkconInit(const vtkKWTkconInit&);   // Not implemented.
00045   void operator=(const vtkKWTkconInit&);  // Not implemented.
00046 };
00047 
00048 #endif