2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Add MTP::Sender to replace RPCSender some day.

Also use c++1z language standard in Xcode build.
Also treat warnings as errors.
This commit is contained in:
John Preston
2017-03-22 18:38:40 +03:00
parent 7fcc5d649c
commit e9ec09b91a
15 changed files with 449 additions and 78 deletions

View File

@@ -22,10 +22,11 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "boxes/peer_list_box.h"
#include "boxes/edit_privacy_box.h"
#include "mtproto/sender.h"
namespace Settings {
class BlockedBoxController : public QObject, public PeerListBox::Controller, private base::Subscriber {
class BlockedBoxController : public PeerListBox::Controller, private base::Subscriber, private MTP::Sender {
public:
void prepare() override;
void rowClicked(PeerListBox::Row *row) override;