annotate framework/Align.h @ 420:662aef012679 alignment_view

Start making it possible to get alignment from an external program (not wired up yet though)
author Chris Cannam
date Fri, 14 Nov 2014 17:24:40 +0000
parents
children 33fae747db7e
rev   line source
Chris@420 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
Chris@420 2
Chris@420 3 /*
Chris@420 4 Sonic Visualiser
Chris@420 5 An audio file viewer and annotation editor.
Chris@420 6 Centre for Digital Music, Queen Mary, University of London.
Chris@420 7 This file copyright 2006 Chris Cannam and QMUL.
Chris@420 8
Chris@420 9 This program is free software; you can redistribute it and/or
Chris@420 10 modify it under the terms of the GNU General Public License as
Chris@420 11 published by the Free Software Foundation; either version 2 of the
Chris@420 12 License, or (at your option) any later version. See the file
Chris@420 13 COPYING included with this distribution for more information.
Chris@420 14 */
Chris@420 15
Chris@420 16 #ifndef ALIGN_H
Chris@420 17 #define ALIGN_H
Chris@420 18
Chris@420 19 #include <QString>
Chris@420 20
Chris@420 21 class Model;
Chris@420 22
Chris@420 23 class Align
Chris@420 24 {
Chris@420 25 public:
Chris@420 26 Align() : m_error("") { }
Chris@420 27
Chris@420 28 bool alignModelViaTransform(Model *reference, Model *other);
Chris@420 29 bool alignModelViaProgram(Model *reference, Model *other);
Chris@420 30
Chris@420 31 QString getError() const { return m_error; }
Chris@420 32
Chris@420 33 private:
Chris@420 34 QString m_error;
Chris@420 35 };
Chris@420 36
Chris@420 37 #endif
Chris@420 38