tdeabc
TDEABC::Lock Class Reference
This class provides locking functionality for a file, directory or an arbitrary string-represented resource. More...
#include <lock.h>
Inheritance diagram for TDEABC::Lock:
Signals | |
| void | locked () |
| void | unlocked () |
Public Member Functions | |
| Lock (const TQString &identifier) | |
| ~Lock () | |
| virtual bool | lock () |
| virtual bool | unlock () |
| virtual TQString | error () const |
| TQString | lockFileName () const |
Static Public Member Functions | |
| static bool | readLockFile (const TQString &filename, int &pid, TQString &app) |
| static bool | writeLockFile (const TQString &filename) |
| static TQString | locksDir () |
Detailed Description
This class provides locking functionality for a file, directory or an arbitrary string-represented resource.
Definition at line 35 of file lock.h.
Constructor & Destructor Documentation
| Lock::Lock | ( | const TQString & | identifier | ) |
| Lock::~Lock | ( | ) |
Member Function Documentation
| bool Lock::lock | ( | ) | [virtual] |
| bool Lock::unlock | ( | ) | [virtual] |
The documentation for this class was generated from the following files:
Trinity API Reference