diff options
author | Ilya Fedin <fedin-ilja2010@ya.ru> | 2021-02-19 04:37:06 +0400 |
---|---|---|
committer | John Preston <johnprestonmail@gmail.com> | 2021-02-19 12:41:09 +0400 |
commit | f1ee5b5704172de5b75646c402f30eea9ec1aed3 (patch) | |
tree | bb45bf2ad7d6e759fadf1ee7533b3630a4b0e009 /Telegram/SourceFiles/platform/linux/linux_gtk_integration.h | |
parent | a9c08552c898f611599126d431fb092934a82fd4 (diff) |
Expose gtk integration to lib_base
Diffstat (limited to 'Telegram/SourceFiles/platform/linux/linux_gtk_integration.h')
-rw-r--r-- | Telegram/SourceFiles/platform/linux/linux_gtk_integration.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Telegram/SourceFiles/platform/linux/linux_gtk_integration.h b/Telegram/SourceFiles/platform/linux/linux_gtk_integration.h index 25774161b1..4a24bd3882 100644 --- a/Telegram/SourceFiles/platform/linux/linux_gtk_integration.h +++ b/Telegram/SourceFiles/platform/linux/linux_gtk_integration.h @@ -12,27 +12,12 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL namespace Platform { namespace internal { -inline constexpr auto kDisableGtkIntegration = "TDESKTOP_DISABLE_GTK_INTEGRATION"_cs; - class GtkIntegration { public: static GtkIntegration *Instance(); void load(); [[nodiscard]] bool loaded() const; - [[nodiscard]] bool checkVersion( - uint major, - uint minor, - uint micro) const; - - [[nodiscard]] std::optional<bool> getBoolSetting( - const QString &propertyName) const; - - [[nodiscard]] std::optional<int> getIntSetting( - const QString &propertyName) const; - - [[nodiscard]] std::optional<QString> getStringSetting( - const QString &propertyName) const; [[nodiscard]] std::optional<int> scaleFactor() const; |