mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-26 17:46:38 -05:00
15 lines
254 B
C++
15 lines
254 B
C++
#ifndef MXAUTOLOCKER_H
|
|
#define MXAUTOLOCKER_H
|
|
|
|
#include "mxcriticalsection.h"
|
|
|
|
class MxAutoLocker
|
|
{
|
|
public:
|
|
MxAutoLocker(MxCriticalSection* cs);
|
|
~MxAutoLocker();
|
|
private:
|
|
MxCriticalSection* m_criticalSection;
|
|
};
|
|
|
|
#endif // MXAUTOLOCKER_H
|