Mercurial > hg > svcore
annotate base/NonRTThread.h @ 96:1aebdc68ec6d
* Introduce simple non-RT thread base class
* Rename MatrixFileCache to MatrixFile
* some fixes & tidying
author | Chris Cannam |
---|---|
date | Thu, 04 May 2006 16:03:02 +0000 |
parents | |
children |
rev | line source |
---|---|
Chris@96 | 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ |
Chris@96 | 2 |
Chris@96 | 3 /* |
Chris@96 | 4 Sonic Visualiser |
Chris@96 | 5 An audio file viewer and annotation editor. |
Chris@96 | 6 Centre for Digital Music, Queen Mary, University of London. |
Chris@96 | 7 This file copyright 2006 Chris Cannam. |
Chris@96 | 8 |
Chris@96 | 9 This program is free software; you can redistribute it and/or |
Chris@96 | 10 modify it under the terms of the GNU General Public License as |
Chris@96 | 11 published by the Free Software Foundation; either version 2 of the |
Chris@96 | 12 License, or (at your option) any later version. See the file |
Chris@96 | 13 COPYING included with this distribution for more information. |
Chris@96 | 14 */ |
Chris@96 | 15 |
Chris@96 | 16 #ifndef _NON_RT_THREAD_H_ |
Chris@96 | 17 #define _NON_RT_THREAD_H_ |
Chris@96 | 18 |
Chris@96 | 19 #include <QThread> |
Chris@96 | 20 |
Chris@96 | 21 class NonRTThread : public QThread |
Chris@96 | 22 { |
Chris@96 | 23 Q_OBJECT |
Chris@96 | 24 |
Chris@96 | 25 public: |
Chris@96 | 26 NonRTThread(QObject *parent = 0); |
Chris@96 | 27 |
Chris@96 | 28 public slots: |
Chris@96 | 29 void start(); |
Chris@96 | 30 }; |
Chris@96 | 31 |
Chris@96 | 32 #endif |