mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 23:48:12 -05:00
16 lines
277 B
C
16 lines
277 B
C
|
#ifndef MXAUTOLOCKER_H
|
||
|
#define MXAUTOLOCKER_H
|
||
|
|
||
|
#include "mxcriticalsection.h"
|
||
|
|
||
|
class MxAutoLocker
|
||
|
{
|
||
|
public:
|
||
|
MxAutoLocker(MxCriticalSection* cs);
|
||
|
virtual ~MxAutoLocker();
|
||
|
private:
|
||
|
MxCriticalSection* m_criticalSection;
|
||
|
};
|
||
|
|
||
|
#endif // MXAUTOLOCKER_H
|