common: Add C++ version of Apple authorization logic. (#6616)

This commit is contained in:
Steveice10
2023-06-19 15:50:26 -07:00
committed by GitHub
parent 03dbdfc12f
commit bfb6a5b5de
10 changed files with 104 additions and 116 deletions

View File

@@ -0,0 +1,12 @@
// Copyright 2023 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
namespace AppleAuthorization {
bool CheckAuthorizationForCamera();
bool CheckAuthorizationForMicrophone();
} // namespace AppleAuthorization