Chris@69: /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ Chris@69: Chris@69: /* Chris@69: Sonic Visualiser Chris@69: An audio file viewer and annotation editor. Chris@69: Centre for Digital Music, Queen Mary, University of London. Chris@69: Chris@69: This program is free software; you can redistribute it and/or Chris@69: modify it under the terms of the GNU General Public License as Chris@69: published by the Free Software Foundation; either version 2 of the Chris@69: License, or (at your option) any later version. See the file Chris@69: COPYING included with this distribution for more information. Chris@69: */ Chris@69: Chris@69: /* Chris@69: This is a modified version of a source file from the Chris@69: Rosegarden MIDI and audio sequencer and notation editor. Chris@69: This file copyright 2000-2006 Chris Cannam. Chris@69: */ Chris@69: Chris@69: #include "OSCMessage.h" Chris@69: Chris@69: Chris@69: OSCMessage::~OSCMessage() Chris@69: { Chris@69: clearArgs(); Chris@69: } Chris@69: Chris@69: void Chris@69: OSCMessage::clearArgs() Chris@69: { Chris@69: m_args.clear(); Chris@69: } Chris@69: Chris@69: void Chris@69: OSCMessage::addArg(QVariant arg) Chris@69: { Chris@69: m_args.push_back(arg); Chris@69: } Chris@69: Chris@69: size_t Chris@69: OSCMessage::getArgCount() const Chris@69: { Chris@69: return m_args.size(); Chris@69: } Chris@69: Chris@69: const QVariant & Chris@69: OSCMessage::getArg(size_t i) const Chris@69: { Chris@69: return m_args[i]; Chris@69: } Chris@69: