2022-04-02 16:45:02 +00:00
|
|
|
// SPDX-License-Identifier: GPLv3-or-later WITH Appstore-exception
|
|
|
|
// Copyright (C) 2020 Jesse Chappell
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2022-04-11 17:23:10 +00:00
|
|
|
// notchPos is 0=none 1=top 2=bottom, 3=left, 4=right
|
|
|
|
|
|
|
|
void getSafeAreaInsets(void * component, float & top, float & bottom, float & left, float & right, int & notchPos);
|
2022-04-02 16:45:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
#if JUCE_MAC
|
|
|
|
|
|
|
|
void disableAppNap();
|
|
|
|
|
2022-04-13 17:48:09 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if JUCE_IOS
|
|
|
|
bool urlBookmarkToBinaryData(void * bookmark, const void * & retdata, size_t & retsize);
|
|
|
|
|
|
|
|
void *binaryDataToUrlBookmark(const void * data, size_t size);
|
|
|
|
|
|
|
|
|
2022-04-02 16:45:02 +00:00
|
|
|
#endif
|