/* 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 "settings/settings_common.h" #include "apiwrap.h" class EditPrivacyController; class BoxContent; namespace Settings { int ExceptionUsersCount(const std::vector> &exceptions); bool CheckEditCloudPassword(not_null<::Main::Session*> session); object_ptr EditCloudPasswordBox( not_null<::Main::Session*> session); void RemoveCloudPassword(not_null<::Main::Session*> session); object_ptr CloudPasswordAppOutdatedBox(); void AddPrivacyButton( not_null controller, not_null container, rpl::producer label, ApiWrap::Privacy::Key key, Fn()> controllerFactory); class PrivacySecurity : public Section { public: PrivacySecurity( QWidget *parent, not_null controller); private: void setupContent(not_null controller); }; } // namespace Settings