From c3ae40d21245315a5bfb913820c20d0d2896522c Mon Sep 17 00:00:00 2001 From: lloyd Date: Thu, 18 May 2006 19:01:03 +0000 Subject: Rename mod_qt to mux_qt, as all (very minimal) non-mutex functionality is going to be removed. --- modules/mux_qt/mux_qt.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 modules/mux_qt/mux_qt.h (limited to 'modules/mux_qt/mux_qt.h') diff --git a/modules/mux_qt/mux_qt.h b/modules/mux_qt/mux_qt.h new file mode 100644 index 000000000..1535b3d36 --- /dev/null +++ b/modules/mux_qt/mux_qt.h @@ -0,0 +1,31 @@ +/************************************************* +* Qt Thread Mutex Header File * +* (C) 1999-2006 The Botan Project * +*************************************************/ + +#ifndef BOTAN_EXT_MUTEX_QT_H__ +#define BOTAN_EXT_MUTEX_QT_H__ + +#include + +namespace Botan { + +/************************************************* +* Qt Mutex * +*************************************************/ +class Qt_Mutex : public Mutex + { + public: + void lock(); + void unlock(); + Mutex* clone() const { return new Qt_Mutex; } + + Qt_Mutex(); + ~Qt_Mutex(); + private: + struct mutex_wrapper* mutex; + }; + +} + +#endif -- cgit v1.2.3