mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-05-04 23:14:00 +02:00
35 lines
770 B
C++
35 lines
770 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 "settings/settings_common.h"
|
|
#include "settings/settings_common_session.h"
|
|
|
|
class BoxContent;
|
|
|
|
namespace Window {
|
|
class Controller;
|
|
class SessionController;
|
|
} // namespace Window
|
|
|
|
namespace Settings {
|
|
|
|
class Ayu : public Section<Ayu>
|
|
{
|
|
public:
|
|
Ayu(QWidget *parent, not_null<Window::SessionController*> controller);
|
|
|
|
[[nodiscard]] rpl::producer<QString> title() override;
|
|
|
|
void fillTopBarMenu(
|
|
const Ui::Menu::MenuCallback &addAction) override;
|
|
|
|
private:
|
|
void setupContent(not_null<Window::SessionController*> controller);
|
|
};
|
|
|
|
} // namespace Settings
|