mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-11 11:47:09 +02:00
22 lines
716 B
C++
22 lines
716 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, 2023
|
|
#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);
|
|
|
|
}
|