summaryrefslogtreecommitdiffstats
path: root/karm/test/lockerthread.h
blob: 38b5b1f006e0655e1ca53a38847b3d85d1cd1e8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <tqthread.h>

class TQString;

/** 
 * Attempt to open and lock a calendar resource in a seperate thread.
 *
 * Result of attempt returned by gotlock().
 */
class LockerThread : public TQThread
{
  public:
    LockerThread( const TQString &filename );
    //void setIcsFile( const TQString &filename );
    void run();
    bool gotlock() const { return m_gotlock; };

  private:
    TQString m_icsfile;
    bool    m_gotlock;
};