mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-06 09:35:12 +00:00
Portal open with dialog works just fine and is a more universal solution... That allows to get rid of an additional process.
34 lines
624 B
C++
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
|