2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Start data export in lib_export.

This commit is contained in:
John Preston
2018-06-02 17:29:21 +03:00
parent c2fa149ffd
commit c587c011d2
52 changed files with 1994 additions and 320 deletions

View File

@@ -26,6 +26,13 @@ struct FormRequest;
class FormController;
} // namespace Passport
namespace Export {
class ControllerWrap;
namespace View {
class PanelController;
} // namespace View
} // namespace Export
namespace Window {
class LayerWidget;
@@ -208,6 +215,8 @@ public:
void showPassportForm(const Passport::FormRequest &request);
void clearPassportForm();
void startDataExport();
base::Variable<bool> &dialogsListFocused() {
return _dialogsListFocused;
}
@@ -251,10 +260,13 @@ private:
int dialogsWidth,
int thirdWidth,
int bodyWidth) const;
void clearDataExport();
not_null<MainWindow*> _window;
std::unique_ptr<Passport::FormController> _passportForm;
std::unique_ptr<Export::ControllerWrap> _export;
std::unique_ptr<Export::View::PanelController> _exportPanel;
GifPauseReasons _gifPauseReasons = 0;
base::Observable<void> _gifPauseLevelChanged;