mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 09:18:54 -05:00
Remove unused message from BasebandSampleSink
This commit is contained in:
parent
e4f2c80172
commit
f92622b45a
@ -24,6 +24,8 @@
|
||||
|
||||
#include "dsp/basebandsamplesink.h"
|
||||
#include "channel/channelapi.h"
|
||||
#include "util/message.h"
|
||||
|
||||
#include "localsinksettings.h"
|
||||
|
||||
class QNetworkAccessManager;
|
||||
|
@ -1,6 +1,23 @@
|
||||
#include "basebandsamplesink.h"
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
// Copyright (C) 2016 F4EXB //
|
||||
// written by Edouard Griffiths //
|
||||
// //
|
||||
// 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 //
|
||||
// (at your option) any later version. //
|
||||
// //
|
||||
// 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/>. //
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
#include "util/message.h"
|
||||
|
||||
MESSAGE_CLASS_DEFINITION(BasebandSampleSink::MsgThreadedSink, Message)
|
||||
#include "basebandsamplesink.h"
|
||||
|
||||
BasebandSampleSink::BasebandSampleSink() :
|
||||
m_guiMessageQueue(0)
|
||||
|
@ -23,34 +23,12 @@
|
||||
#include "dsp/dsptypes.h"
|
||||
#include "export.h"
|
||||
#include "util/messagequeue.h"
|
||||
#include "util/message.h"
|
||||
|
||||
class Message;
|
||||
|
||||
class SDRBASE_API BasebandSampleSink : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
/** Used to notify on which thread the sample sink is now running (with ThreadedSampleSink) */
|
||||
class SDRBASE_API MsgThreadedSink : public Message {
|
||||
MESSAGE_CLASS_DECLARATION
|
||||
|
||||
public:
|
||||
const QThread* getThread() const { return m_thread; }
|
||||
|
||||
static MsgThreadedSink* create(const QThread* thread)
|
||||
{
|
||||
return new MsgThreadedSink(thread);
|
||||
}
|
||||
|
||||
private:
|
||||
const QThread *m_thread;
|
||||
|
||||
MsgThreadedSink(const QThread *thread) :
|
||||
Message(),
|
||||
m_thread(thread)
|
||||
{ }
|
||||
};
|
||||
|
||||
BasebandSampleSink();
|
||||
virtual ~BasebandSampleSink();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user