PageRenderTime 21ms CodeModel.GetById 13ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/midilistener.h

http://ewitool.googlecode.com/
C++ Header | 45 lines | 16 code | 7 blank | 22 comment | 0 complexity | e298fd2089419f416517029670040db3 MD5 | raw file
 1/***************************************************************************
 2 *   Copyright (C) 2008 by Steve Merrony   *
 3 *      *
 4 *                                                                         *
 5 *   This program is free software; you can redistribute it and/or modify  *
 6 *   it under the terms of the GNU General Public License as published by  *
 7 *   the Free Software Foundation; either version 3 of the License, or     *
 8 *   (at your option) any later version.                                   *
 9 *                                                                         *
10 *   This program is distributed in the hope that it will be useful,       *
11 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
12 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
13 *   GNU General Public License for more details.                          *
14 *                                                                         *
15 *   You should have received a copy of the GNU General Public License     *
16 *   along with this program; if not, write to the                         *
17 *   Free Software Foundation, Inc.,                                       *
18 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
19 ***************************************************************************/
20#ifndef MIDILISTENER_H
21#define MIDILISTENER_H
22
23/**
24	@author Steve Merrony
25*/
26
27#include <QThread>
28
29#include "midi_data.h"
30
31class MidiListener : public QThread
32{
33Q_OBJECT
34
35	public:
36		MidiListener ( QObject * );
37		~MidiListener();
38	protected:
39		void run();
40		
41	private:
42		midi_data *midi_data_shr, *tmidi_data;
43
44};
45#endif