diff options
Diffstat (limited to 'src/utils/mutex/qt_mutex/mux_qt.cpp')
-rw-r--r-- | src/utils/mutex/qt_mutex/mux_qt.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/utils/mutex/qt_mutex/mux_qt.cpp b/src/utils/mutex/qt_mutex/mux_qt.cpp deleted file mode 100644 index 421b771c7..000000000 --- a/src/utils/mutex/qt_mutex/mux_qt.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/************************************************* -* Qt Thread Mutex Source File * -* (C) 2004-2007 Justin Karneges * -* 2004-2007 Jack Lloyd * -*************************************************/ - -#include <botan/mux_qt.h> -#include <qmutex.h> - -#if !defined(QT_THREAD_SUPPORT) - #error Your version of Qt does not support threads or mutexes -#endif - -namespace Botan { - -/************************************************* -* Qt Mutex Factory * -*************************************************/ -Mutex* Qt_Mutex_Factory::make() - { - class Qt_Mutex : public Mutex - { - public: - void lock() { mutex.lock(); } - void unlock() { mutex.unlock(); } - private: - QMutex mutex; - }; - - return new Qt_Mutex(); - } - -} |