mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Moved inline bot result structs from structs.cpp/h module.
Moved inline bot result layouts from layout.cpp/h module. Over status prepared for inline bot file result icon. Dependencies reduced, inline bots code moved to InlineBots namespace. Build in Xcode and QtCreator broken.
This commit is contained in:
@@ -175,12 +175,12 @@ namespace Ui {
|
||||
if (MainWidget *m = App::main()) m->ui_repaintHistoryItem(item);
|
||||
}
|
||||
|
||||
void repaintInlineItem(const LayoutInlineItem *layout) {
|
||||
void repaintInlineItem(const InlineBots::Layout::ItemBase *layout) {
|
||||
if (!layout) return;
|
||||
if (MainWidget *m = App::main()) m->ui_repaintInlineItem(layout);
|
||||
}
|
||||
|
||||
bool isInlineItemVisible(const LayoutInlineItem *layout) {
|
||||
bool isInlineItemVisible(const InlineBots::Layout::ItemBase *layout) {
|
||||
if (MainWidget *m = App::main()) return m->ui_isInlineItemVisible(layout);
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user