isle-portable/LEGO1/omni/include/mxautolock.h
Christian Semmler 76435d803f
Style refactor omni/system components ()
* Style refactor omni/system components

* Fix

* Fix
2024-05-30 21:03:43 +02:00

17 lines
290 B
C++

#ifndef MXAUTOLOCK_H
#define MXAUTOLOCK_H
class MxCriticalSection;
#define AUTOLOCK(CS) MxAutoLock lock(&CS)
class MxAutoLock {
public:
MxAutoLock(MxCriticalSection* p_criticalSection);
~MxAutoLock();
private:
MxCriticalSection* m_criticalSection; // 0x00
};
#endif // MXAUTOLOCK_H