"Fossies" - the Fresh Open Source Software Archive 
Member "tdesktop-2.6.1/Telegram/SourceFiles/boxes/peers/edit_linked_chat_box.h" (24 Feb 2021, 820 Bytes) of package /linux/misc/tdesktop-2.6.1.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
For more information about "edit_linked_chat_box.h" see the
Fossies "Dox" file reference documentation.
1 /*
2 This file is part of Telegram Desktop,
3 the official desktop application for the Telegram messaging service.
4
5 For license and copyright information please follow this link:
6 https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
7 */
8 #pragma once
9
10 #include "base/object_ptr.h"
11
12 namespace Ui {
13 class BoxContent;
14 } // namespace Ui
15
16 namespace Window {
17 class SessionNavigation;
18 } // namespace Window
19
20 object_ptr<Ui::BoxContent> EditLinkedChatBox(
21 not_null<Window::SessionNavigation*> navigation,
22 not_null<ChannelData*> channel,
23 not_null<ChannelData*> chat,
24 bool canEdit,
25 Fn<void(ChannelData*)> callback);
26
27 object_ptr<Ui::BoxContent> EditLinkedChatBox(
28 not_null<Window::SessionNavigation*> navigation,
29 not_null<ChannelData*> channel,
30 std::vector<not_null<PeerData*>> &&chats,
31 Fn<void(ChannelData*)> callback);