tdesktop/Telegram/SourceFiles/boxes/change_phone_box.h

33 lines
629 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 17:38:10 +03:00
#include "boxes/abstract_box.h"
2019-07-24 16:00:30 +02:00
namespace Main {
class Session;
} // namespace Main
class ChangePhoneBox : public BoxContent {
public:
2019-07-24 16:00:30 +02: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 16:00:30 +02:00
const not_null<Main::Session*> _session;
};