2017-11-18 21:38:07 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Copyright (C) 2016 Edouard Griffiths, F4EXB //
|
|
|
|
// //
|
|
|
|
// API for Tx channels //
|
|
|
|
// //
|
|
|
|
// This program is free software; you can redistribute it and/or modify //
|
|
|
|
// it under the terms of the GNU General Public License as published by //
|
|
|
|
// the Free Software Foundation as version 3 of the License, or //
|
2019-04-11 08:32:15 -04:00
|
|
|
// (at your option) any later version. //
|
2017-11-18 21:38:07 -05:00
|
|
|
// //
|
|
|
|
// This program is distributed in the hope that it will be useful, //
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
|
|
|
// GNU General Public License V3 for more details. //
|
|
|
|
// //
|
|
|
|
// You should have received a copy of the GNU General Public License //
|
|
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2017-11-19 05:36:20 -05:00
|
|
|
#include "util/uid.h"
|
2017-11-18 21:38:07 -05:00
|
|
|
#include "channelsourceapi.h"
|
|
|
|
|
2017-12-20 17:57:06 -05:00
|
|
|
ChannelSourceAPI::ChannelSourceAPI(const QString& name) :
|
|
|
|
m_name(name),
|
|
|
|
m_indexInDeviceSet(-1),
|
2019-05-01 22:02:40 -04:00
|
|
|
m_deviceSinkAPI(0),
|
2017-12-20 17:57:06 -05:00
|
|
|
m_uid(UidCalculator::getNewObjectId())
|
2017-11-18 21:38:07 -05:00
|
|
|
{ }
|
|
|
|
|