diff --git a/src/mainwindow.h b/src/mainwindow.h --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -1,5 +1,5 @@ /* - Copyright © 2017 Hasan Yavuz Özderya + Copyright © 2018 Hasan Yavuz Özderya This file is part of serialplot. @@ -40,8 +40,7 @@ #include "plotcontrolpanel.h" #include "recordpanel.h" #include "ui_about_dialog.h" -#include "framebuffer.h" -#include "channelmanager.h" +#include "stream.h" #include "snapshotmanager.h" #include "plotmanager.h" #include "plotmenu.h" @@ -77,7 +76,8 @@ private: unsigned int numOfSamples; QList curves; - ChannelManager channelMan; + // ChannelManager channelMan; + Stream stream; PlotManager* plotMan; QWidget* secondaryPlot; SnapshotManager snapshotMan; @@ -114,7 +114,6 @@ private slots: void onPortToggled(bool open); void onNumOfSamplesChanged(int value); - void onNumOfChannelsChanged(unsigned value); void clearPlot(); void onSpsChanged(unsigned sps);