Chris@420: /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ Chris@420: Chris@420: /* Chris@420: Sonic Visualiser Chris@420: An audio file viewer and annotation editor. Chris@420: Centre for Digital Music, Queen Mary, University of London. Chris@420: This file copyright 2006 Chris Cannam and QMUL. Chris@420: Chris@420: This program is free software; you can redistribute it and/or Chris@420: modify it under the terms of the GNU General Public License as Chris@420: published by the Free Software Foundation; either version 2 of the Chris@420: License, or (at your option) any later version. See the file Chris@420: COPYING included with this distribution for more information. Chris@420: */ Chris@420: Chris@420: #ifndef ALIGN_H Chris@420: #define ALIGN_H Chris@420: Chris@420: #include Chris@420: Chris@420: class Model; Chris@420: Chris@420: class Align Chris@420: { Chris@420: public: Chris@420: Align() : m_error("") { } Chris@420: Chris@422: bool alignModel(Model *reference, Model *other); // via user preference Chris@422: Chris@420: bool alignModelViaTransform(Model *reference, Model *other); Chris@422: bool alignModelViaProgram(Model *reference, Model *other, QString program); Chris@420: Chris@420: QString getError() const { return m_error; } Chris@420: Chris@420: private: Chris@420: QString m_error; Chris@420: }; Chris@420: Chris@420: #endif Chris@420: