#include "PythonQtWrapper_QMutex.h" #include #include #include #include #include QMutex* PythonQtWrapper_QMutex::new_QMutex(QMutex::RecursionMode mode) { return new QMutex(mode); } bool PythonQtWrapper_QMutex::tryLock(QMutex* theWrappedObject, int timeout) { return ( theWrappedObject->tryLock(timeout)); } void PythonQtWrapper_QMutex::unlock(QMutex* theWrappedObject) { ( theWrappedObject->unlock()); } bool PythonQtWrapper_QMutex::tryLock(QMutex* theWrappedObject) { return ( theWrappedObject->tryLock()); } void PythonQtWrapper_QMutex::lock(QMutex* theWrappedObject) { ( theWrappedObject->lock()); }