aboutsummaryrefslogtreecommitdiffstats
path: root/src/mutex/qt_mutex/mux_qt.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-11-17 07:20:51 +0000
committerlloyd <[email protected]>2009-11-17 07:20:51 +0000
commit7a24783fd58b21e1ea59615025806663e5f231eb (patch)
treeb77c685e0b54f82890947009631461bcfe5b6880 /src/mutex/qt_mutex/mux_qt.cpp
parente00b46cf9c1dcb364ebb7d5968d6ff9dcd600c4e (diff)
parent471847e2148776e62e4f580ade95572fc525c751 (diff)
propagate from branch 'net.randombit.botan' (head 0ac5a29496b4e50775827d9655c064f6d1c98813)
to branch 'net.randombit.botan.c++0x' (head 3232da044d41756582b53da9d14c3ac07e9b2916)
Diffstat (limited to 'src/mutex/qt_mutex/mux_qt.cpp')
-rw-r--r--src/mutex/qt_mutex/mux_qt.cpp35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/mutex/qt_mutex/mux_qt.cpp b/src/mutex/qt_mutex/mux_qt.cpp
deleted file mode 100644
index 0f670c8b4..000000000
--- a/src/mutex/qt_mutex/mux_qt.cpp
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-* Qt Thread Mutex
-* (C) 2004-2007 Justin Karneges
-* 2004-2007 Jack Lloyd
-*
-* Distributed under the terms of the Botan license
-*/
-
-#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();
- }
-
-}