aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--include/lv2/ui/ui.h2
-rw-r--r--lv2/ui.lv2/ui.meta.ttl20
-rw-r--r--lv2/ui.lv2/ui.ttl14
4 files changed, 38 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index d75a2ae..fa67fb3 100644
--- a/NEWS
+++ b/NEWS
@@ -4,8 +4,9 @@ lv2 (1.18.11) unstable; urgency=medium
* Fix pylint warning in test script
* Override pkg-config dependency within meson
* Remove troublesome lv2_atom_assert_double_fits_in_64_bits
+ * ui: Add types for Gtk4UI and Qt6UI
- -- David Robillard <d@drobilla.net> Thu, 15 Dec 2022 17:15:58 +0000
+ -- David Robillard <d@drobilla.net> Thu, 11 Jul 2024 23:58:50 +0000
lv2 (1.18.10) stable; urgency=medium
diff --git a/include/lv2/ui/ui.h b/include/lv2/ui/ui.h
index 4d2fed7..d825d76 100644
--- a/include/lv2/ui/ui.h
+++ b/include/lv2/ui/ui.h
@@ -29,11 +29,13 @@
#define LV2_UI__CocoaUI LV2_UI_PREFIX "CocoaUI" ///< http://lv2plug.in/ns/extensions/ui#CocoaUI
#define LV2_UI__Gtk3UI LV2_UI_PREFIX "Gtk3UI" ///< http://lv2plug.in/ns/extensions/ui#Gtk3UI
+#define LV2_UI__Gtk4UI LV2_UI_PREFIX "Gtk4UI" ///< http://lv2plug.in/ns/extensions/ui#Gtk4UI
#define LV2_UI__GtkUI LV2_UI_PREFIX "GtkUI" ///< http://lv2plug.in/ns/extensions/ui#GtkUI
#define LV2_UI__PortNotification LV2_UI_PREFIX "PortNotification" ///< http://lv2plug.in/ns/extensions/ui#PortNotification
#define LV2_UI__PortProtocol LV2_UI_PREFIX "PortProtocol" ///< http://lv2plug.in/ns/extensions/ui#PortProtocol
#define LV2_UI__Qt4UI LV2_UI_PREFIX "Qt4UI" ///< http://lv2plug.in/ns/extensions/ui#Qt4UI
#define LV2_UI__Qt5UI LV2_UI_PREFIX "Qt5UI" ///< http://lv2plug.in/ns/extensions/ui#Qt5UI
+#define LV2_UI__Qt6UI LV2_UI_PREFIX "Qt6UI" ///< http://lv2plug.in/ns/extensions/ui#Qt6UI
#define LV2_UI__UI LV2_UI_PREFIX "UI" ///< http://lv2plug.in/ns/extensions/ui#UI
#define LV2_UI__WindowsUI LV2_UI_PREFIX "WindowsUI" ///< http://lv2plug.in/ns/extensions/ui#WindowsUI
#define LV2_UI__X11UI LV2_UI_PREFIX "X11UI" ///< http://lv2plug.in/ns/extensions/ui#X11UI
diff --git a/lv2/ui.lv2/ui.meta.ttl b/lv2/ui.lv2/ui.meta.ttl
index ede80ae..393d8d6 100644
--- a/lv2/ui.lv2/ui.meta.ttl
+++ b/lv2/ui.lv2/ui.meta.ttl
@@ -99,6 +99,16 @@ not be used in the same process.
"""^^lv2:Markdown .
+ui:Gtk4UI
+ lv2:documentation """
+
+The host must guarantee that the Gtk+ 4 library has been initialised and the
+Glib main loop is running before the UI is instantiated. Note that this UI
+type is not suitable for binary distribution since multiple versions of Gtk can
+not be used in the same process.
+
+"""^^lv2:Markdown .
+
ui:Qt4UI
lv2:documentation """
@@ -119,6 +129,16 @@ used in the same process.
"""^^lv2:Markdown .
+ui:Qt6UI
+ lv2:documentation """
+
+The host must guarantee that the Qt6 library has been initialised and the Qt6
+main loop is running before the UI is instantiated. Note that this UI type is
+not suitable for binary distribution since multiple versions of Qt can not be
+used in the same process.
+
+"""^^lv2:Markdown .
+
ui:X11UI
lv2:documentation """
diff --git a/lv2/ui.lv2/ui.ttl b/lv2/ui.lv2/ui.ttl
index a59b069..e888988 100644
--- a/lv2/ui.lv2/ui.ttl
+++ b/lv2/ui.lv2/ui.ttl
@@ -34,6 +34,13 @@ ui:Gtk3UI
rdfs:label "GTK3 UI" ;
rdfs:comment "A UI where the widget is a pointer to a Gtk+ 3.0 GtkWidget." .
+ui:Gtk4UI
+ a rdfs:Class ,
+ owl:Class ;
+ rdfs:subClassOf ui:UI ;
+ rdfs:label "GTK4 UI" ;
+ rdfs:comment "A UI where the widget is a pointer to a Gtk+ 4.0 GtkWidget." .
+
ui:Qt4UI
a rdfs:Class ,
owl:Class ;
@@ -48,6 +55,13 @@ ui:Qt5UI
rdfs:label "Qt5 UI" ;
rdfs:comment "A UI where the widget is a pointer to a Qt5 QWidget." .
+ui:Qt6UI
+ a rdfs:Class ,
+ owl:Class ;
+ rdfs:subClassOf ui:UI ;
+ rdfs:label "Qt6 UI" ;
+ rdfs:comment "A UI where the widget is a pointer to a Qt6 QWidget." .
+
ui:X11UI
a rdfs:Class ,
owl:Class ;