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