2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-06 09:35:12 +00:00
Files
kotatogram-desktop/Telegram/SourceFiles/platform/linux/linux_gtk_integration.h
Ilya Fedin 51df482571 Get rid of gtk open with dialog
Portal open with dialog works just fine and is a more universal solution... That allows to get rid of an additional process.
2021-08-25 12:52:43 +03:00

34 lines
624 B
C++

/*
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);
};
} // namespace internal
} // namespace Platform