2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-08 10:35:15 +00:00
Files
kotatogram-desktop/Telegram/SourceFiles/platform/linux/linux_gtk_integration.h

34 lines
624 B
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
*/
#pragma once
namespace Platform {
namespace internal {
class GtkIntegration {
public:
enum class Type {
Base,
Webview,
};
static QString AllowedBackends();
static int Exec(
Type type,
const QString &parentDBusName,
const QString &serviceName);
static void Start(Type type);
static void Autorestart(Type type);
2021-01-10 07:51:38 +04:00
};
} // namespace internal
} // namespace Platform