tdesktop/Telegram/SourceFiles/intro/intro_start.h

35 lines
680 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
2019-11-26 11:10:44 +00:00
#include "intro/intro_step.h"
namespace Ui {
class FlatLabel;
class LinkButton;
class RoundButton;
} // namespace Ui
2016-11-24 19:28:23 +00:00
namespace Intro {
2019-11-26 11:10:44 +00:00
namespace details {
2019-11-26 11:10:44 +00:00
class StartWidget : public Step {
2016-11-24 19:28:23 +00:00
public:
2019-07-24 08:46:23 +00:00
StartWidget(
QWidget *parent,
not_null<Main::Account*> account,
2019-11-26 11:10:44 +00:00
not_null<Data*> data);
2016-11-24 19:28:23 +00:00
void submit() override;
rpl::producer<QString> nextButtonText() const override;
};
2016-11-24 19:28:23 +00:00
2019-11-26 11:10:44 +00:00
} // namespace details
2016-11-24 19:28:23 +00:00
} // namespace Intro