2020-03-03 12:07:22 +00:00
|
|
|
/*
|
|
|
|
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 "ui/widgets/side_bar_menu.h"
|
|
|
|
|
|
|
|
namespace Window {
|
|
|
|
|
|
|
|
class SessionController;
|
|
|
|
|
|
|
|
class FiltersMenu final {
|
|
|
|
public:
|
2020-03-06 11:37:48 +00:00
|
|
|
FiltersMenu(
|
|
|
|
not_null<Ui::RpWidget*> parent,
|
|
|
|
not_null<SessionController*> session);
|
2020-03-03 12:07:22 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
void setup();
|
|
|
|
void refresh();
|
|
|
|
|
|
|
|
const not_null<SessionController*> _session;
|
2020-03-06 11:37:48 +00:00
|
|
|
const not_null<Ui::RpWidget*> _parent;
|
2020-03-03 12:07:22 +00:00
|
|
|
Ui::SideBarMenu _widget;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace Window
|