mirror of
				https://github.com/isledecomp/isle.git
				synced 2025-10-25 17:34:05 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			242 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			242 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
 | 
