Make sure only one instance can be run
commit55cd38b97aaf42817729d4bcdcbba5b1cb3c7e25
authorjlh <jlh@gmx.ch>
Tue, 20 May 2008 13:56:34 +0000 (20 15:56 +0200)
committerjlh <jlh@gmx.ch>
Tue, 20 May 2008 13:56:34 +0000 (20 15:56 +0200)
treece8a55b42fad74a2589df5720a3a003c6b718924
parent71276931c84d5b645f9c64eab120d4e28e9dc4d8
Make sure only one instance can be run

For this we use open() and flock().  Qt would provide useful
classes for this, like QtLockedFile or even QtSingleApplication,
but they are add-ons only available to costumers that have a
license.
CMakeLists.txt
recorder.cpp
recorder.h
utils.cpp [new file with mode: 0644]
utils.h [new file with mode: 0644]