mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-05-10 09:53:57 +02:00
35 lines
637 B
C++
35 lines
637 B
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
|
|
|
|
#include "ui/controls/swipe_handler_data.h"
|
|
|
|
namespace Lottie {
|
|
class Icon;
|
|
} // namespace Lottie
|
|
|
|
namespace Dialogs::Ui {
|
|
|
|
using namespace ::Ui;
|
|
|
|
enum class SwipeDialogAction {
|
|
Mute,
|
|
Pin,
|
|
Read,
|
|
Archive,
|
|
Delete,
|
|
Disabled,
|
|
};
|
|
|
|
struct SwipeContext {
|
|
::Ui::Controls::SwipeContextData data;
|
|
Lottie::Icon *icon = nullptr;
|
|
SwipeDialogAction action;
|
|
};
|
|
|
|
} // namespace Dialogs::Ui
|