diff --git a/Telegram/SourceFiles/platform/mac/integration_mac.h b/Telegram/SourceFiles/platform/mac/integration_mac.h index 73e0063250..11b203214a 100644 --- a/Telegram/SourceFiles/platform/mac/integration_mac.h +++ b/Telegram/SourceFiles/platform/mac/integration_mac.h @@ -7,3 +7,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL */ #pragma once +namespace Platform { + +class Integration; + +[[nodiscard]] std::unique_ptr CreateIntegration(); + +} // namespace Platform diff --git a/Telegram/SourceFiles/platform/mac/integration_mac.mm b/Telegram/SourceFiles/platform/mac/integration_mac.mm index 91d22ce7f0..6a60a46d10 100644 --- a/Telegram/SourceFiles/platform/mac/integration_mac.mm +++ b/Telegram/SourceFiles/platform/mac/integration_mac.mm @@ -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 CreateIntegration() { + return std::make_unique(); +} + +} // namespace Platform