1 /* 2 * Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * All rights reserved. Distributed under the terms of the MIT license. 4 */ 5 #ifndef LOCKING_H 6 #define LOCKING_H 7 8 #include <util/AutoLock.h> 9 10 class Volume; 11 12 // instantiations 13 typedef AutoLocker<Volume, AutoLockerReadLocking<Volume> > VolumeReadLocker; 14 typedef AutoLocker<Volume, AutoLockerWriteLocking<Volume> > VolumeWriteLocker; 15 16 #endif // LOCKING_H 17