// // NSTouchbar.h // Underbar // // Created by Shadowfacts on 7/13/19. // Copyright © 2019 Shadowfacts. All rights reserved. // // Copied from https://github.com/pigigaldi/Pock/blob/852679a4882d0e9c5b3d8473eb9b9fbf7bef837f/Pock/Private/NSTouchBar.h #import extern void DFRElementSetControlStripPresenceForIdentifier(_Nonnull NSTouchBarItemIdentifier, BOOL); extern void DFRSystemModalShowsCloseBoxWhenFrontMost(BOOL); @interface NSTouchBarItem () + (void)addSystemTrayItem:(nonnull NSTouchBarItem *)item; @end @interface NSTouchBar () + (void)presentSystemModalTouchBar:(nonnull NSTouchBar *)touchBar placement:(long long)placement systemTrayItemIdentifier:(nonnull NSTouchBarItemIdentifier)identifier NS_AVAILABLE_MAC(10.14); + (void)minimizeSystemModalTouchBar:(nonnull NSTouchBar *)touchBar NS_AVAILABLE_MAC(10.14); @end