2019-07-13 19:33:21 +00:00
|
|
|
//
|
|
|
|
// NSTouchbar.h
|
|
|
|
// Underbar
|
|
|
|
//
|
|
|
|
// Created by Shadowfacts on 7/13/19.
|
|
|
|
// Copyright © 2019 Shadowfacts. All rights reserved.
|
|
|
|
//
|
|
|
|
|
2019-07-14 02:22:05 +00:00
|
|
|
// Copied from https://github.com/pigigaldi/Pock/blob/852679a4882d0e9c5b3d8473eb9b9fbf7bef837f/Pock/Private/NSTouchBar.h
|
|
|
|
|
2019-07-13 19:33:21 +00:00
|
|
|
#import <AppKit/AppKit.h>
|
|
|
|
|
|
|
|
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
|