diff options
| author | levlam <levlam@telegram.org> | 2024-01-04 19:20:14 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2024-01-04 19:20:14 +0300 |
| commit | 8d7058109cef2ab62eb9c5979dd2ebd159306488 (patch) | |
| tree | ac4e99623927c391d66ae2a48c98e7639e32e42e /td/telegram/CommonDialogManager.cpp | |
| parent | 2c6917d044ede125fa837ee38061df8ffe28360d (diff) | |
Add CommonDialogManager.
Diffstat (limited to 'td/telegram/CommonDialogManager.cpp')
| -rw-r--r-- | td/telegram/CommonDialogManager.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/td/telegram/CommonDialogManager.cpp b/td/telegram/CommonDialogManager.cpp new file mode 100644 index 000000000..8c782de54 --- /dev/null +++ b/td/telegram/CommonDialogManager.cpp @@ -0,0 +1,18 @@ +// +// 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) +// +#include "td/telegram/CommonDialogManager.h" + +namespace td { + +CommonDialogManager::CommonDialogManager(Td *td, ActorShared<> parent) : td_(td), parent_(std::move(parent)) { +} + +void CommonDialogManager::tear_down() { + parent_.reset(); +} + +} // namespace td |
