2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-24 19:27:17 +00:00
tdesktop/Telegram/SourceFiles/platform/linux/linux_wayland_integration_dummy.cpp

50 lines
1.1 KiB
C++
Raw Normal View History

2020-11-12 00:18:18 +01:00
/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#include "platform/linux/linux_wayland_integration.h"
#include "base/platform/base_platform_info.h"
2020-11-12 00:18:18 +01:00
namespace Platform {
namespace internal {
class WaylandIntegration::Private {
};
2020-11-12 00:18:18 +01:00
WaylandIntegration::WaylandIntegration() {
}
WaylandIntegration::~WaylandIntegration() = default;
2020-11-12 00:18:18 +01:00
WaylandIntegration *WaylandIntegration::Instance() {
if (!IsWayland()) return nullptr;
2020-11-12 00:18:18 +01:00
static WaylandIntegration instance;
return &instance;
}
void WaylandIntegration::waitForInterfaceAnnounce() {
}
bool WaylandIntegration::supportsXdgDecoration() {
return false;
}
2020-11-12 00:18:18 +01:00
bool WaylandIntegration::startMove(QWindow *window) {
return false;
}
bool WaylandIntegration::startResize(QWindow *window, Qt::Edges edges) {
return false;
}
bool WaylandIntegration::showWindowMenu(QWindow *window) {
return false;
}
} // namespace internal
} // namespace Platform