2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-25 11:47:29 +00:00

28 lines
709 B
C
Raw Permalink Normal View History

2024-03-23 12:42:22 +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
2024-06-18 02:45:45 +04:00
namespace Ui {
class RpWindow;
} // namespace Ui
2024-03-23 12:42:22 +04:00
namespace Iv {
class Delegate {
public:
virtual void ivSetLastSourceWindow(not_null<QWidget*> window) = 0;
[[nodiscard]] virtual QRect ivGeometry() const = 0;
2024-06-18 02:45:45 +04:00
virtual void ivSaveGeometry(not_null<Ui::RpWindow*> window) = 0;
2024-10-15 09:55:46 +03:00
[[nodiscard]] virtual int ivZoom() const = 0;
[[nodiscard]] virtual rpl::producer<int> ivZoomValue() const = 0;
virtual void ivSetZoom(int value) = 0;
2024-03-23 12:42:22 +04:00
};
} // namespace Iv