tdesktop/Telegram/SourceFiles/boxes/auto_download_box.h

40 lines
761 B
C
Raw Normal View History

2018-12-06 19:47:28 +04: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 "boxes/abstract_box.h"
2019-07-24 16:00:30 +02:00
namespace Main {
class Session;
} // namespace Main
2018-12-06 19:47:28 +04:00
namespace Data {
namespace AutoDownload {
enum class Source;
} // namespace AutoDownload
} // namespace Data
class AutoDownloadBox : public BoxContent {
public:
2019-07-24 16:00:30 +02:00
AutoDownloadBox(
QWidget*,
not_null<Main::Session*> session,
Data::AutoDownload::Source source);
2018-12-06 19:47:28 +04:00
protected:
void prepare() override;
private:
void setupContent();
2019-07-24 16:00:30 +02:00
const not_null<Main::Session*> _session;
2018-12-06 19:47:28 +04:00
Data::AutoDownload::Source _source;
};