mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Fix build for macOS.
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user