2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Added initial implementation touchbar.

This commit is contained in:
23rd
2019-04-29 16:41:51 +03:00
committed by John Preston
parent a49806bf79
commit 58604406f8
9 changed files with 362 additions and 7 deletions

View File

@@ -406,6 +406,10 @@ void RequestPermission(PermissionType type, Fn<void(PermissionStatus)> resultCal
void OpenSystemSettingsForPermission(PermissionType type) {
}
void SetTouchBar(TouchBarType type) {
// TouchBar is Mac only feature.
}
bool OpenSystemSettings(SystemSettingsType type) {
if (type == SystemSettingsType::Audio) {
auto options = std::vector<QString>();