tdesktop/Telegram/SourceFiles/boxes/change_phone_box.h

33 lines
633 B
C
Raw Normal View History

/*
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
2017-04-06 14:38:10 +00:00
#include "boxes/abstract_box.h"
2019-07-24 14:00:30 +00:00
namespace Main {
class Session;
} // namespace Main
2019-09-18 11:19:05 +00:00
class ChangePhoneBox : public Ui::BoxContent {
public:
2019-07-24 14:00:30 +00:00
ChangePhoneBox(QWidget*, not_null<Main::Session*> session);
protected:
void prepare() override;
void paintEvent(QPaintEvent *e) override;
private:
class EnterPhone;
class EnterCode;
2019-07-24 14:00:30 +00:00
const not_null<Main::Session*> _session;
};