blob: 84a5adce392d31af7c818efdddaaaf816acab463 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/*
License...
*/
#ifndef TTYLOCKER_P_UNIX_H
#define TTYLOCKER_P_UNIX_H
#include <QtCore/qstring.h>
QT_BEGIN_NAMESPACE
class QString;
class TTYLocker
{
public:
static bool lock(const QString &location);
static bool unlock(const QString &location);
static bool isLocked(const QString &location, bool *currentPid);
};
QT_END_NAMESPACE
#endif // TTYLOCKER_P_UNIX_H
|