MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / Show

Class Show

Telegram/SourceFiles/window/window_controller.cpp:43–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41namespace {
42
43class Show final : public Ui::Show {
44public:
45 explicit Show(not_null<Controller*> window);
46
47 void showOrHideBoxOrLayer(
48 std::variant<
49 v::null_t,
50 object_ptr<Ui::BoxContent>,
51 std::unique_ptr<Ui::LayerWidget>> &&layer,
52 Ui::LayerOptions options,
53 anim::type animated) const override;
54 [[nodiscard]] not_null<QWidget*> toastParent() const override;
55 [[nodiscard]] bool valid() const override;
56 operator bool() const override;
57
58private:
59 const base::weak_ptr<Controller> _window;
60
61};
62
63Show::Show(not_null<Controller*> window)
64: _window(base::make_weak(window)) {

Callers 1

showToastMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected