summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qcore_mac_p.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2022-05-09 19:03:47 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2022-05-25 16:49:59 +0200
commit057cce5e85d4f933bb64aa7824e01219f6b03160 (patch)
treee43f6222955e928d1c783627114fa8cb496dfa5e /src/corelib/kernel/qcore_mac_p.h
parentc46ee7df57c30c94107df8506d30d8872ffa3baa (diff)
macOS: Add private API to ensure that a process is responsible/disclaimed
Useful for tests that request permissions and need to ensure these are requested on behalf of the app itself, and not its parent process, regardless of how it's invoked. Change-Id: Iac493e95440a3a04df4fa466c1d700ba1233e393 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/corelib/kernel/qcore_mac_p.h')
-rw-r--r--src/corelib/kernel/qcore_mac_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/kernel/qcore_mac_p.h b/src/corelib/kernel/qcore_mac_p.h
index e6252ad98f..54bbbc1e39 100644
--- a/src/corelib/kernel/qcore_mac_p.h
+++ b/src/corelib/kernel/qcore_mac_p.h
@@ -175,6 +175,7 @@ private:
Q_CORE_EXPORT bool qt_mac_applicationIsInDarkMode();
Q_CORE_EXPORT bool qt_mac_runningUnderRosetta();
Q_CORE_EXPORT std::optional<uint32_t> qt_mac_sipConfiguration();
+Q_CORE_EXPORT void qt_mac_ensureResponsible();
#endif
#ifndef QT_NO_DEBUG_STREAM