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:
|
2021-06-23 03:20:40 +04:00
|
|
|
enum class Type {
|
|
|
|
Base,
|
|
|
|
};
|
|
|
|
|
|
|
|
static QString AllowedBackends();
|
|
|
|
|
|
|
|
static void Start(Type type);
|
|
|
|
|
|
|
|
static void Autorestart(Type type);
|
2021-01-10 07:51:38 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace internal
|
|
|
|
} // namespace Platform
|