diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e192c903..a94975796 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -102,7 +102,7 @@ set(sdrbase_SOURCES sdrbase/dsp/samplesource.cpp sdrbase/plugin/pluginapi.cpp - sdrbase/plugin/plugingui.cpp + #sdrbase/plugin/plugingui.cpp sdrbase/plugin/plugininterface.cpp sdrbase/plugin/pluginmanager.cpp diff --git a/include/plugin/plugingui.h b/include/plugin/plugingui.h index 42c83b057..ff31d4b08 100644 --- a/include/plugin/plugingui.h +++ b/include/plugin/plugingui.h @@ -18,8 +18,6 @@ public: virtual void resetToDefaults() = 0; - virtual QByteArray serializeGeneral() const; - virtual bool deserializeGeneral(const QByteArray& data); virtual qint64 getCenterFrequency() const = 0; virtual void setCenterFrequency(qint64 centerFrequency) = 0; diff --git a/sdrbase/plugin/plugingui.cpp b/sdrbase/plugin/plugingui.cpp deleted file mode 100644 index f8bf791c8..000000000 --- a/sdrbase/plugin/plugingui.cpp +++ /dev/null @@ -1,11 +0,0 @@ -#include "plugin/plugingui.h" - -QByteArray PluginGUI::serializeGeneral() const -{ - return QByteArray(); -} - -bool PluginGUI::deserializeGeneral(const QByteArray& data) -{ - return false; -} diff --git a/sdrbase/plugin/pluginmanager.cpp b/sdrbase/plugin/pluginmanager.cpp index 9336320c0..787e73c90 100644 --- a/sdrbase/plugin/pluginmanager.cpp +++ b/sdrbase/plugin/pluginmanager.cpp @@ -173,7 +173,7 @@ bool PluginManager::ChannelInstanceRegistration::operator<(const ChannelInstance void PluginManager::saveSettings(Preset* preset) { if(m_sampleSourcePluginGUI != NULL) { - preset->setSourceConfig(m_sampleSourceName, m_sampleSourcePluginGUI->serializeGeneral(), m_sampleSourcePluginGUI->serialize()); + //preset->setSourceConfig(m_sampleSourceName, m_sampleSourcePluginGUI->serializeGeneral(), m_sampleSourcePluginGUI->serialize()); preset->setCenterFrequency(m_sampleSourcePluginGUI->getCenterFrequency()); } else { preset->setSourceConfig(QString::null, QByteArray(), QByteArray());