Add dummy Platform::Integration on Linux.

This commit is contained in:
John Preston 2022-01-06 15:44:02 +03:00
parent ebe45f3fa1
commit ba6c3eaf73
2 changed files with 22 additions and 0 deletions

View File

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

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