diff --git a/device.h b/device.h index 5698a6e..e90e9e4 100644 --- a/device.h +++ b/device.h @@ -5,10 +5,12 @@ #define qvoid void -struct SamplePair { - qint16 x, y; +template struct SamplePairT { + T x, y; }; +typedef SamplePairT SamplePair; + class Device : public QIODevice { Q_OBJECT