From 098ed3f15751b1e25f8a0149d49a78b2e1d3f881 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 16 Nov 2024 07:37:30 -0500 Subject: Use a typedef for ports like other structs --- src/jalv_qt.hpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/jalv_qt.hpp') diff --git a/src/jalv_qt.hpp b/src/jalv_qt.hpp index 30138f4..e6b1f35 100644 --- a/src/jalv_qt.hpp +++ b/src/jalv_qt.hpp @@ -1,6 +1,7 @@ // Copyright 2007-2022 David Robillard // SPDX-License-Identifier: ISC +#include "port.h" #include "state.h" #include "types.h" @@ -15,8 +16,6 @@ #include #include -struct Port; - class QDial; class QLabel; class QWidget; @@ -42,8 +41,8 @@ private: }; struct PortContainer { - Jalv* jalv; - Port* port; + Jalv* jalv; + JalvPort* port; }; class Control final : public QGroupBox @@ -65,7 +64,7 @@ private: QDial* dial; const LilvPlugin* plugin; - Port* port; + JalvPort* port; QLabel* label; QString name; -- cgit v1.2.1