Chris@297: /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ Chris@297: Chris@297: /* Chris@297: Sonic Visualiser Chris@297: An audio file viewer and annotation editor. Chris@297: Centre for Digital Music, Queen Mary, University of London. Chris@297: This file copyright 2007 QMUL. Chris@297: Chris@297: This program is free software; you can redistribute it and/or Chris@297: modify it under the terms of the GNU General Public License as Chris@297: published by the Free Software Foundation; either version 2 of the Chris@297: License, or (at your option) any later version. See the file Chris@297: COPYING included with this distribution for more information. Chris@297: */ Chris@297: Chris@297: #ifndef _SERIALISER_H_ Chris@297: #define _SERIALISER_H_ Chris@297: Chris@297: #include Chris@297: #include Chris@297: Chris@297: #include Chris@297: Chris@297: class Serialiser Chris@297: { Chris@297: public: Chris@297: Serialiser(QString id); Chris@297: ~Serialiser(); Chris@297: Chris@406: QString getId() const { return m_id; } Chris@406: Chris@297: protected: Chris@297: QString m_id; Chris@297: static QMutex m_mapMutex; Chris@297: static std::map m_mutexMap; Chris@297: }; Chris@297: Chris@297: #endif