diff options
| author | levlam <levlam@telegram.org> | 2023-03-27 11:27:17 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2023-03-27 11:27:17 +0300 |
| commit | 800258fa573d7e77bb8bfb74eec571bb139afd8c (patch) | |
| tree | b6f10d77bb09ec746000a68c71ae21af619ba432 /td/telegram/DialogFilterManager.h | |
| parent | 9a85e4df1c68bd030c24cc2edebcf599156fbd8c (diff) | |
Add DialogFilterManager.
Diffstat (limited to 'td/telegram/DialogFilterManager.h')
| -rw-r--r-- | td/telegram/DialogFilterManager.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/td/telegram/DialogFilterManager.h b/td/telegram/DialogFilterManager.h new file mode 100644 index 000000000..00ac26cf3 --- /dev/null +++ b/td/telegram/DialogFilterManager.h @@ -0,0 +1,28 @@ +// +// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2023 +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +// +#pragma once + +#include "td/actor/actor.h" + +#include "td/utils/common.h" + +namespace td { + +class Td; + +class DialogFilterManager final : public Actor { + public: + DialogFilterManager(Td *td, ActorShared<> parent); + + private: + void tear_down() final; + + Td *td_; + ActorShared<> parent_; +}; + +} // namespace td |
