mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-05-04 23:14:00 +02:00
22 lines
711 B
C++
22 lines
711 B
C++
// This is the source code of AyuGram for Desktop.
|
|
//
|
|
// We do not and cannot prevent the use of our code,
|
|
// but be respectful and credit the original author.
|
|
//
|
|
// Copyright @Radolyn, 2024
|
|
#pragma once
|
|
|
|
#include "data/data_document.h"
|
|
#include "ui/widgets/popup_menu.h"
|
|
|
|
namespace AyuUi {
|
|
|
|
bool needToShowItem(int state);
|
|
|
|
void AddHistoryAction(not_null<Ui::PopupMenu*> menu, HistoryItem *item);
|
|
void AddHideMessageAction(not_null<Ui::PopupMenu*> menu, HistoryItem *item);
|
|
void AddUserMessagesAction(not_null<Ui::PopupMenu*> menu, HistoryItem *item);
|
|
void AddMessageDetailsAction(not_null<Ui::PopupMenu*> menu, HistoryItem *item);
|
|
void AddReadUntilAction(not_null<Ui::PopupMenu*> menu, HistoryItem *item);
|
|
|
|
}
|