Welcome to mirror list, hosted at ThFree Co, Russian Federation.

AUD_ILockable.h « intern « audaspace « intern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9bc417504febe30782c9c74f3fc1c97b6c300144 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef AUD_ILOCKABLE_H
#define AUD_ILOCKABLE_H

/**
 * This class provides an interface for lockable objects.
 * The main reason for this interface is to be used with AUD_MutexLock.
 */
class AUD_ILockable
{
public:
	/**
	 * Locks the object.
	 */
	virtual void lock()=0;
	/**
	 * Unlocks the previously locked object.
	 */
	virtual void unlock()=0;
};

#endif // AUD_ILOCKABLE_H