annotate src/Analyser.h @ 106:660d772b9f83 v0.1

Merge
author Chris Cannam
date Fri, 06 Dec 2013 17:09:27 +0000
parents 4db051a704b2
children 06f9caf5928d
rev   line source
Chris@6 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
Chris@6 2
Chris@6 3 /*
Chris@6 4 Tony
Chris@6 5 An intonation analysis and annotation tool
Chris@6 6 Centre for Digital Music, Queen Mary, University of London.
Chris@6 7 This file copyright 2006-2012 Chris Cannam and QMUL.
Chris@6 8
Chris@6 9 This program is free software; you can redistribute it and/or
Chris@6 10 modify it under the terms of the GNU General Public License as
Chris@6 11 published by the Free Software Foundation; either version 2 of the
Chris@6 12 License, or (at your option) any later version. See the file
Chris@6 13 COPYING included with this distribution for more information.
Chris@6 14 */
Chris@6 15
Chris@6 16 #ifndef ANALYSER_H
Chris@6 17 #define ANALYSER_H
Chris@6 18
Chris@6 19 #include <QObject>
Chris@6 20
Chris@6 21 #include "transform/Transform.h"
gyorgyf@14 22 #include "layer/LayerFactory.h" // GF: added so we can access the FlexiNotes enum value.
gyorgyf@45 23 #include "layer/FlexiNoteLayer.h"
Chris@6 24
Chris@6 25 class WaveFileModel;
Chris@6 26 class Pane;
Chris@6 27 class PaneStack;
Chris@6 28 class Document;
Chris@6 29 class Layer;
gyorgyf@14 30 class LayerFactory;
Chris@6 31
Chris@6 32 class Analyser : public QObject
Chris@6 33 {
Chris@6 34 Q_OBJECT
Chris@6 35
Chris@6 36 public:
Chris@6 37 Analyser();
Chris@6 38 virtual ~Analyser();
Chris@6 39
Chris@6 40 void newFileLoaded(Document *newDocument, WaveFileModel *model,
Chris@6 41 PaneStack *paneStack, Pane *pane);
gyorgyf@45 42
gyorgyf@45 43 void setIntelligentActions(bool);
Chris@6 44
Chris@6 45 protected:
Chris@6 46 Document *m_document;
Chris@6 47 WaveFileModel *m_fileModel;
Chris@6 48 Pane *m_pane;
gyorgyf@45 49 FlexiNoteLayer *m_flexiNoteLayer;
Chris@6 50 };
Chris@6 51
Chris@6 52 #endif