From d5300a6d2a7a67a27717ceef07c9113a0afe10c2 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Mon, 31 Oct 2022 17:01:43 +0100 Subject: Refactor: split QMacMime registry and virtual interface MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The logic for registration of converter implementations is only used internally through static functions. Move those, and related global functions, to a QMacMimeRegistry namespace. Reduce the QMacInternalPasteboardMime to the abstract interface for converting between native and Qt clipboard data. Historically, mime converters can have different "types"; make that API type-safe. Task-number: QTBUG-93632 Change-Id: I0e16fefa350398b693486199fe10357fd84abcd6 Reviewed-by: Tor Arne Vestbø --- src/plugins/platforms/cocoa/qnsview.mm | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/platforms/cocoa/qnsview.mm') diff --git a/src/plugins/platforms/cocoa/qnsview.mm b/src/plugins/platforms/cocoa/qnsview.mm index b73d186612..eb4405ccd0 100644 --- a/src/plugins/platforms/cocoa/qnsview.mm +++ b/src/plugins/platforms/cocoa/qnsview.mm @@ -34,6 +34,7 @@ #include "qcocoaglcontext.h" #endif #include "qcocoaintegration.h" +#include // Private interface @interface QNSView () -- cgit v1.2.3