aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_qt.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-11-16 07:37:30 -0500
committerDavid Robillard <d@drobilla.net>2024-11-24 19:01:53 -0500
commit098ed3f15751b1e25f8a0149d49a78b2e1d3f881 (patch)
treec84f6f90b1ee65b1f8de371552e54fd24e19238d /src/jalv_qt.hpp
parent4e4641d7923217d983ff37b46dcb3f6546843992 (diff)
downloadjalv-098ed3f15751b1e25f8a0149d49a78b2e1d3f881.tar.gz
jalv-098ed3f15751b1e25f8a0149d49a78b2e1d3f881.tar.bz2
jalv-098ed3f15751b1e25f8a0149d49a78b2e1d3f881.zip
Use a typedef for ports like other structs
Diffstat (limited to 'src/jalv_qt.hpp')
-rw-r--r--src/jalv_qt.hpp9
1 files changed, 4 insertions, 5 deletions
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 <d@drobilla.net>
// SPDX-License-Identifier: ISC
+#include "port.h"
#include "state.h"
#include "types.h"
@@ -15,8 +16,6 @@
#include <map>
#include <vector>
-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;