1 2 3 4 5 6 7 8 9 10 11 12 13 14
#if !defined(IMUTEX_H) #define IMUTEX_H class IMutex { public: IMutex() {} virtual ~IMutex() {} virtual void lock() = 0; virtual void unlock() = 0; }; #endif