2017-11-08 16:45:30 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
2018-01-03 10:23:14 +00:00
|
|
|
the official desktop application for the Telegram messaging service.
|
2017-11-08 16:45:30 +00:00
|
|
|
|
2018-01-03 10:23:14 +00:00
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
2017-11-08 16:45:30 +00:00
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "boxes/abstract_box.h"
|
|
|
|
|
|
|
|
class ManagePeerBox : public BoxContent {
|
|
|
|
public:
|
|
|
|
ManagePeerBox(QWidget*, not_null<ChannelData*> channel);
|
|
|
|
|
|
|
|
static bool Available(not_null<ChannelData*> channel);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
void prepare() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
void setupContent();
|
|
|
|
|
|
|
|
not_null<ChannelData*> _channel;
|
|
|
|
|
|
|
|
};
|