Chris@74: /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ Chris@74: Chris@74: /* Chris@74: Sonic Visualiser Chris@74: An audio file viewer and annotation editor. Chris@74: Centre for Digital Music, Queen Mary, University of London. Chris@74: This file copyright 2006 Chris Cannam. Chris@74: Chris@74: This program is free software; you can redistribute it and/or Chris@74: modify it under the terms of the GNU General Public License as Chris@74: published by the Free Software Foundation; either version 2 of the Chris@74: License, or (at your option) any later version. See the file Chris@74: COPYING included with this distribution for more information. Chris@74: */ Chris@74: Chris@1581: #ifndef SV_CLIPBOARD_H Chris@1581: #define SV_CLIPBOARD_H Chris@74: Chris@74: #include Chris@74: Chris@1611: #include "Point.h" Chris@1044: Chris@74: class Clipboard Chris@74: { Chris@74: public: Chris@74: Clipboard(); Chris@74: ~Clipboard(); Chris@74: Chris@74: void clear(); Chris@74: bool empty() const; Chris@1612: const PointVector &getPoints() const; Chris@1612: void setPoints(const PointVector &points); Chris@74: void addPoint(const Point &point); Chris@74: Chris@370: bool haveReferenceFrames() const; Chris@369: bool referenceFramesDiffer() const; Chris@340: Chris@74: protected: Chris@1612: PointVector m_points; Chris@74: }; Chris@74: Chris@74: #endif