Program: bbtk
Module: $RCSfile: bbtkKW.cxx,v $
Language: C++
- Date: $Date: 2008/11/29 21:41:32 $
- Version: $Revision: 1.1 $
+ Date: $Date: 2008/12/12 12:11:21 $
+ Version: $Revision: 1.3 $
=========================================================================*/
/* ---------------------------------------------------------------------
//#include "vtkConditionVariable.h"
-#include "vtkMultiThreader.h"
+//#include "vtkMultiThreader.h"
#include <ctime>
+
+extern "C" int Bbtk_Init(Tcl_Interp *interp);
+
namespace bbtk
{
//=========================================================================
static vtkKWApplication* mgKWApp = 0;
- static vtkMultiThreader* mgMultiThreader = 0; /*
+ //static vtkMultiThreader* mgMultiThreader = 0;
+ /*
static vtkKWWindowBase* mgKWTopWindow = 0;
static vtkKWWindowBase* mgKWTopWindowParent = 0;
static bool mgKWAutoDestroyTopWindow = true;
mgKWApp = vtkKWApplication::New();
mgKWApp->SetName("bbtk");
+ Bbtk_Init(interp);
+
+
/*
if (mgMultiThreader == 0)
{
*/
// Dies as soon as it starts because no window at this point !!!
- mgKWApp->Start();
+ // mgKWApp->Start();
/*
clock_t endwait;