mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-28 08:52:19 -07:00
- New Moderation tab: search a user to show account info, alternate accounts, login sessions, and staff last logins; actions to reset the user's password (shows the generated temporary password) and remove the user's avatar - 'Investigate user' entry in the user context menu opens the tab pre-loaded for that user - Warning dialog shows the infraction level of each warning category - Tab wired into TabSupervisor with a moderator-gated menu action, shortcut, and tabs.ini persistence (default closed)
26 lines
1.1 KiB
C++
26 lines
1.1 KiB
C++
#ifndef COCKATRICE_INTERFACE_TABS_SETTINGS_PROVIDER_H
|
|
#define COCKATRICE_INTERFACE_TABS_SETTINGS_PROVIDER_H
|
|
|
|
#include <QString>
|
|
|
|
class ITabsSettingsProvider
|
|
{
|
|
public:
|
|
virtual ~ITabsSettingsProvider() = default;
|
|
|
|
[[nodiscard]] virtual int getStartupTabIndex() const = 0;
|
|
[[nodiscard]] virtual QString getStartupServerHost() const = 0;
|
|
[[nodiscard]] virtual QString getStartupServerPort() const = 0;
|
|
[[nodiscard]] virtual QString getStartupRoomName() const = 0;
|
|
[[nodiscard]] virtual bool getTabVisualDeckStorageOpen() const = 0;
|
|
[[nodiscard]] virtual bool getTabServerOpen() const = 0;
|
|
[[nodiscard]] virtual bool getTabAccountOpen() const = 0;
|
|
[[nodiscard]] virtual bool getTabDeckStorageOpen() const = 0;
|
|
[[nodiscard]] virtual bool getTabReplaysOpen() const = 0;
|
|
[[nodiscard]] virtual bool getTabAdminOpen() const = 0;
|
|
[[nodiscard]] virtual bool getTabLogOpen() const = 0;
|
|
[[nodiscard]] virtual bool getTabReportOpen() const = 0;
|
|
[[nodiscard]] virtual bool getTabModerationOpen() const = 0;
|
|
};
|
|
|
|
#endif // COCKATRICE_INTERFACE_TABS_SETTINGS_PROVIDER_H
|