Salome HOME
Fixing a bug : Salome GUI style needs addLibraryPath() method to be called
[modules/gui.git] / src / PyInterp / PyInterp_base.h
index 233709e5152c2e97c03b36207a373c401e13ccc5..ff39c5a33ece4f255ef3c48b011e4fbe6cc337fc 100644 (file)
 
 #include <Python.h>   // must be before qt includes ...
 
-class QSemaphore;
-class QMutex;
-
 extern "C" PyObject * PyEval_EvalCode(PyObject *co, PyObject *g, PyObject *l);
 
 #define TOP_HISTORY_PY "--- top of history ---"
 #define BEGIN_HISTORY_PY "--- begin of history ---"
 
-
-class SemaphoreLock{
-  QSemaphore* mySemaphore;
-  std::string myComment;
- public:
-  SemaphoreLock(QSemaphore* theSemaphore, const char* theComment = "");
-  ~SemaphoreLock();
-};
-
-
 class PYINTERP_EXPORT PyLockWrapper
 {
   PyThreadState* myThreadState;
@@ -52,23 +39,8 @@ class PYINTERP_EXPORT PyLockWrapper
 };
 
 
-class ThreadLock
-{
-  QMutex* myMutex;
-  std::string myComment;
-public:
-  ThreadLock(QMutex* theMutex, const char* theComment = "");
-  ~ThreadLock();
-};
-
-
-bool IsPyLocked();
-
-ThreadLock GetPyThreadLock(const char* theComment = "");
-
 class PYINTERP_EXPORT PyInterp_base{
  public:
-//  static PyThreadState *_gtstate;
   static int _argc;
   static char* _argv[];
   static PyObject *builtinmodule;