mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-30 04:55:39 +02:00
29 lines
667 B
Objective-C
29 lines
667 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
|
|
|
|
#ifndef OS_OSX
|
|
|
|
#import <AppKit/NSTouchBar.h>
|
|
|
|
namespace Main {
|
|
class Domain;
|
|
} // namespace Main
|
|
|
|
namespace Window {
|
|
class Controller;
|
|
} // namespace Window
|
|
|
|
API_AVAILABLE(macos(10.12.2))
|
|
@interface RootTouchBar : NSTouchBar<NSTouchBarDelegate>
|
|
- (id)init:(rpl::producer<bool>)canApplyMarkdown
|
|
controller:(not_null<Window::Controller*>)controller
|
|
domain:(not_null<Main::Domain*>)domain;
|
|
@end
|
|
|
|
#endif // OS_OSX
|