2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-28 05:07:45 +00:00
2021-07-01 22:13:50 +03:00

31 lines
642 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:
static GtkIntegration *Instance();
void load();
[[nodiscard]] std::optional<int> scaleFactor() const;
[[nodiscard]] bool showOpenWithDialog(const QString &filepath) const;
[[nodiscard]] QImage getImageFromClipboard() const;
private:
GtkIntegration();
};
} // namespace internal
} // namespace Platform