2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-23 18:57:12 +00:00
tdesktop/Telegram/SourceFiles/platform/linux/linux_gtk_integration_dummy.cpp

59 lines
1.1 KiB
C++
Raw Normal View History

2021-01-10 07:51:38 +04: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_gtk_integration.h"
namespace Platform {
namespace internal {
class GtkIntegration::Private {
};
2021-01-10 07:51:38 +04:00
GtkIntegration::GtkIntegration() {
}
GtkIntegration::~GtkIntegration() = default;
2021-01-10 07:51:38 +04:00
GtkIntegration *GtkIntegration::Instance() {
return nullptr;
}
void GtkIntegration::load(const QString &allowedBackends) {
}
int GtkIntegration::exec(const QString &parentDBusName) {
return 1;
2021-01-10 07:51:38 +04:00
}
bool GtkIntegration::showOpenWithDialog(const QString &filepath) const {
return false;
}
QImage GtkIntegration::getImageFromClipboard() const {
return {};
}
QString GtkIntegration::AllowedBackends() {
return {};
}
2021-07-08 16:05:17 +03:00
int GtkIntegration::Exec(
Type type,
const QString &parentDBusName,
const QString &serviceName) {
return 1;
}
void GtkIntegration::Start(Type type) {
}
void GtkIntegration::Autorestart(Type type) {
}
2021-01-10 07:51:38 +04:00
} // namespace internal
} // namespace Platform