summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/FacebookRM/src/stdafx.h')
-rw-r--r--protocols/FacebookRM/src/stdafx.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/protocols/FacebookRM/src/stdafx.h b/protocols/FacebookRM/src/stdafx.h
index 83f39e24e6..83efa47cf7 100644
--- a/protocols/FacebookRM/src/stdafx.h
+++ b/protocols/FacebookRM/src/stdafx.h
@@ -83,28 +83,6 @@ extern HINSTANCE g_hInstance;
extern std::string g_strUserAgent;
extern DWORD g_mirandaVersion;
-class ScopedLock
-{
-public:
- ScopedLock(HANDLE h, int t = INFINITE) : handle_(h), timeout_(t)
- {
- WaitForSingleObject(handle_,timeout_);
- }
- ~ScopedLock()
- {
- if(handle_)
- ReleaseMutex(handle_);
- }
- void Unlock()
- {
- ReleaseMutex(handle_);
- handle_ = 0;
- }
-private:
- HANDLE handle_;
- int timeout_;
-};
-
template <typename T>
__inline static void FreeList(const LIST<T> &lst)
{