A simple Qt based browser with no bullshit that supports PKCS#11 tokens (such as the SuisseID).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
597 B

#ifndef SyncObject_WinCE_h
#define SyncObject_WinCE_h
#ifndef SyncObject_h
# error include SyncObject.h instead
#endif
#include <windows.h>
namespace act
{
class SyncObject
{
private:
SyncObject(const SyncObject&);
SyncObject& operator=(const SyncObject&);
public:
SyncObject();
~SyncObject();
void lock();
void unlock();
long lockCount() const { return m_lock_count; }
DWORD threadId() const { return m_thread_id; }
private:
volatile long m_lock_count;
volatile DWORD m_thread_id;
CRITICAL_SECTION m_sync;
};
} // namespace act
#endif // SyncObject_WinCE_h