// 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, 2026 #pragma once #include namespace Window { class SessionController; } namespace Ui { class GenericBox; struct PluginMetadata { QString id; QString name; QString description; QString author; QString version; QString icon; QString minVersion; QStringList requirements; }; [[nodiscard]] PluginMetadata ParsePluginMetadata(const QByteArray &data); void ShowPluginInfoBox( not_null controller, const QString& pluginPath, PluginMetadata metadata); } // namespace Ui