Fix build for macOS.

This commit is contained in:
John Preston 2022-01-05 22:15:17 +03:00
parent 609cab6e2f
commit 3f0fed19d8
2 changed files with 22 additions and 0 deletions

View file

@ -7,3 +7,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
namespace Platform {
class Integration;
[[nodiscard]] std::unique_ptr<Integration> CreateIntegration();
} // namespace Platform

View file

@ -7,3 +7,18 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#include "platform/mac/integration_mac.h"
#include "platform/platform_integration.h"
namespace Platform {
namespace {
class MacIntegration final : public Integration {
};
} // namespace
std::unique_ptr<Integration> CreateIntegration() {
return std::make_unique<MacIntegration>();
}
} // namespace Platform