29 lines
613 B
C++
29 lines
613 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 <rpl/event_stream.h>
|
|
#include "boxes/peers/manage_peer_box.h"
|
|
|
|
class EditPeerInfoBox : public BoxContent {
|
|
public:
|
|
EditPeerInfoBox(QWidget*, not_null<PeerData*> peer);
|
|
|
|
void setInnerFocus() override {
|
|
_focusRequests.fire({});
|
|
}
|
|
|
|
protected:
|
|
void prepare() override;
|
|
|
|
private:
|
|
not_null<PeerData*> _peer;
|
|
rpl::event_stream<> _focusRequests;
|
|
|
|
};
|