isle/LEGO1/mxautolocker.h

16 lines
242 B
C
Raw Normal View History

2023-06-23 12:17:41 -04:00
#ifndef MXAUTOLOCKER_H
#define MXAUTOLOCKER_H
#include "mxcriticalsection.h"
2023-10-24 19:38:27 -04:00
class MxAutoLocker {
public:
2023-10-24 19:38:27 -04:00
MxAutoLocker(MxCriticalSection* cs);
~MxAutoLocker();
private:
2023-10-24 19:38:27 -04:00
MxCriticalSection* m_criticalSection;
2023-06-23 12:17:41 -04:00
};
#endif // MXAUTOLOCKER_H