kepka/Telegram/SourceFiles/boxes/peers/manage_peer_box.h

27 lines
543 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"
class ManagePeerBox : public BoxContent {
public:
ManagePeerBox(QWidget*, not_null<PeerData*> peer);
static bool Available(not_null<PeerData*> peer);
protected:
void prepare() override;
private:
void setupContent();
not_null<PeerData*> _peer;
};