#ifndef __cmt_lock_h__
#define __cmt_lock_h__

class CmtLock
{
public:
	typedef enum 
	{
		locked_by_user, 
		locked_by_another_user, 
		not_locked,
		still_locked,
		still_unlocked
	} status;

	static status lock ();
	static status unlock ();
	static status check ();
};

#endif
