tdesktop/Telegram/SourceFiles/boxes/change_phone_box.h

33 lines
677 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
#include "boxes/abstract_box.h"
namespace Window {
class SessionController;
} // namespace Window
class ChangePhoneBox : public Ui::BoxContent {
public:
ChangePhoneBox(QWidget*, not_null<Window::SessionController*> controller);
protected:
void prepare() override;
void paintEvent(QPaintEvent *e) override;
private:
class EnterPhone;
class EnterCode;
const not_null<Window::SessionController*> _controller;
};