mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 15:45:12 +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
|
#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/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