mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-29 20:46:04 +02:00
28 lines
757 B
Objective-C
28 lines
757 B
Objective-C
/*
|
|
This file is part of Telegram Desktop,
|
|
the official desktop application for the Telegram messaging service.
|
|
|
|
For license and copyright information please follow this link:
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|
*/
|
|
#pragma once
|
|
|
|
#import <AppKit/NSTouchBar.h>
|
|
|
|
namespace Window {
|
|
class Controller;
|
|
} // namespace Window
|
|
|
|
namespace TouchBar::Main {
|
|
|
|
const auto kPinnedPanelItemIdentifier = @"pinnedPanel";
|
|
const auto kPopoverInputItemIdentifier = @"popoverInput";
|
|
const auto kPopoverPickerItemIdentifier = @"pickerButtons";
|
|
|
|
} // namespace TouchBar::Main
|
|
|
|
API_AVAILABLE(macos(10.12.2))
|
|
@interface TouchBarMain : NSTouchBar
|
|
- (id)init:(not_null<Window::Controller*>)controller
|
|
touchBarSwitches:(rpl::producer<>)touchBarSwitches;
|
|
@end
|