mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Add dummy Platform::Integration on Linux.
This commit is contained in:
parent
ebe45f3fa1
commit
ba6c3eaf73
2 changed files with 22 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue