22 lines
624 B
C++
22 lines
624 B
C++
|
//
|
||
|
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2022
|
||
|
//
|
||
|
// 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/NotificationSettingsManager.h"
|
||
|
|
||
|
namespace td {
|
||
|
|
||
|
NotificationSettingsManager::NotificationSettingsManager(Td *td, ActorShared<> parent)
|
||
|
: td_(td), parent_(std::move(parent)) {
|
||
|
}
|
||
|
|
||
|
NotificationSettingsManager::~NotificationSettingsManager() = default;
|
||
|
|
||
|
void NotificationSettingsManager::tear_down() {
|
||
|
parent_.reset();
|
||
|
}
|
||
|
|
||
|
} // namespace td
|