40 lines
1.1 KiB
C++
40 lines
1.1 KiB
C++
/*
|
|
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
|
|
|
|
namespace Data {
|
|
class BotInfoLocalization;
|
|
} // namespace Data
|
|
|
|
namespace Ui {
|
|
class GenericBox;
|
|
} // namespace Ui
|
|
|
|
void ImportBotInfoContent(
|
|
not_null<Ui::GenericBox*> box,
|
|
not_null<Data::BotInfoLocalization*> localization,
|
|
const QString &username,
|
|
const QByteArray &content);
|
|
void ImportBotInfoPath(
|
|
not_null<Ui::GenericBox*> box,
|
|
not_null<Data::BotInfoLocalization*> localization,
|
|
const QString &username,
|
|
const QString &path);
|
|
void ImportBotInfoFromClipboard(
|
|
not_null<Ui::GenericBox*> box,
|
|
not_null<Data::BotInfoLocalization*> localization,
|
|
const QString &username);
|
|
void ExportBotInfoToPath(
|
|
not_null<Ui::GenericBox*> box,
|
|
not_null<Data::BotInfoLocalization*> localization,
|
|
const QString &username,
|
|
const QString &path);
|
|
void AcceptBotInfoFileDrops(
|
|
not_null<Ui::GenericBox*> box,
|
|
not_null<Data::BotInfoLocalization*> localization,
|
|
const QString &username);
|