diff widgets/PluginParameterDialog.h @ 145:4d132a06db9b

* Add mono timestretch toggle button; some more work on getting blocksize etc parameters through to plugins
author Chris Cannam
date Mon, 18 Sep 2006 16:43:17 +0000
parents bcb6d71be63c
children a1f7d265ac79
line wrap: on
line diff
--- a/widgets/PluginParameterDialog.h	Fri Sep 15 16:36:04 2006 +0000
+++ b/widgets/PluginParameterDialog.h	Mon Sep 18 16:43:17 2006 +0000
@@ -18,6 +18,8 @@
 
 #include <QDialog>
 
+#include "base/Window.h"
+
 namespace Vamp { class PluginBase; }
 class PluginParameterBox;
 class QWidget;
@@ -50,16 +52,26 @@
 
     int getChannel() const { return m_channel; }
 
+    void getProcessingParameters(size_t &blockSize) const;
+    void getProcessingParameters(size_t &stepSize, size_t &blockSize,
+                                 WindowType &windowType) const;
+
 signals:
     void pluginConfigurationChanged(QString);
 
 protected slots:
     void channelComboChanged(int);
+    void blockSizeComboChanged(QString);
+    void incrementComboChanged(QString);
+    void windowTypeChanged(WindowType type);
     void advancedToggled();
 
 protected:
     Vamp::PluginBase *m_plugin;
     int m_channel;
+    size_t m_stepSize;
+    size_t m_blockSize;
+    WindowType m_windowType;
     PluginParameterBox *m_parameterBox;
     QPushButton *m_advancedButton;
     QWidget *m_advanced;