mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-03 16:15:13 +00:00
Add dummy Platform::Integration on Linux.
This commit is contained in:
@@ -7,3 +7,18 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||||||
*/
|
*/
|
||||||
#include "platform/linux/integration_linux.h"
|
#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
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user