mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-04 20:57:49 +00:00
17 lines
230 B
C++
17 lines
230 B
C++
#pragma once
|
|
|
|
#ifdef _WIN32
|
|
#include <windows.h>
|
|
|
|
namespace RBX
|
|
{
|
|
class ScopedNamedMutex
|
|
{
|
|
HANDLE hMutex;
|
|
|
|
public:
|
|
ScopedNamedMutex(const char* name);
|
|
~ScopedNamedMutex();
|
|
};
|
|
} // namespace RBX
|
|
#endif // #ifdef _WIN32
|