mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
8a017226c3
- Move create passkey button to builder.addButton() with proper ID - Use builder.add() for dynamic passkeys list - Move Passkeys class from header to .cpp (anonymous namespace) - Remove extern SectionBuildMethod from header - Have setupContent() call build() with custom build method - Simplify header to only export Type PasskeysId() and PasskeysNoneBox() Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
29 lines
555 B
C++
29 lines
555 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 "settings/settings_type.h"
|
|
|
|
namespace Ui {
|
|
class GenericBox;
|
|
} // namespace Ui
|
|
|
|
namespace Main {
|
|
class Session;
|
|
} // namespace Main
|
|
|
|
namespace Settings {
|
|
|
|
void PasskeysNoneBox(
|
|
not_null<Ui::GenericBox*> box,
|
|
not_null<::Main::Session*> session);
|
|
|
|
Type PasskeysId();
|
|
|
|
} // namespace Settings
|