blob: 1535b3d36e8c7d78cbed7c9237d7c04ef34f4c14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 <botan/mutex.h>
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
|