mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix build for macOS.
This commit is contained in:
parent
609cab6e2f
commit
3f0fed19d8
2 changed files with 22 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue