Chris@333
|
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
|
Chris@333
|
2
|
Chris@333
|
3 /*
|
Chris@333
|
4 Sonic Visualiser
|
Chris@333
|
5 An audio file viewer and annotation editor.
|
Chris@333
|
6 Centre for Digital Music, Queen Mary, University of London.
|
Chris@333
|
7
|
Chris@333
|
8 This program is free software; you can redistribute it and/or
|
Chris@333
|
9 modify it under the terms of the GNU General Public License as
|
Chris@333
|
10 published by the Free Software Foundation; either version 2 of the
|
Chris@333
|
11 License, or (at your option) any later version. See the file
|
Chris@333
|
12 COPYING included with this distribution for more information.
|
Chris@333
|
13 */
|
Chris@333
|
14
|
Chris@333
|
15 /*
|
Chris@333
|
16 This is a modified version of a source file from the
|
Chris@333
|
17 Rosegarden MIDI and audio sequencer and notation editor.
|
Chris@333
|
18 This file copyright 2000-2009 Chris Cannam.
|
Chris@333
|
19 */
|
Chris@333
|
20
|
Chris@333
|
21 #ifndef _SURVEYER_H_
|
Chris@333
|
22 #define _SURVEYER_H_
|
Chris@333
|
23
|
Chris@333
|
24 #include <QStringList>
|
Chris@333
|
25 #include <QString>
|
Chris@333
|
26 #include <QObject>
|
Chris@333
|
27
|
Chris@333
|
28 class QHttpResponseHeader;
|
Chris@333
|
29
|
Chris@333
|
30 class Surveyer : public QObject
|
Chris@333
|
31 {
|
Chris@333
|
32 Q_OBJECT
|
Chris@333
|
33
|
Chris@333
|
34 public:
|
Chris@333
|
35 Surveyer(QObject *parent = 0);
|
Chris@333
|
36 virtual ~Surveyer();
|
Chris@333
|
37
|
Chris@333
|
38 protected slots:
|
Chris@333
|
39 void httpResponseHeaderReceived(const QHttpResponseHeader &);
|
Chris@333
|
40 void httpDone(bool);
|
Chris@333
|
41
|
Chris@333
|
42 private:
|
Chris@333
|
43 bool m_httpFailed;
|
Chris@333
|
44 };
|
Chris@333
|
45
|
Chris@333
|
46 #endif
|
Chris@333
|
47
|