Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/Feature.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@

struct Feature
{
// For global settings search
struct SettingSearchEntry
{
std::string label;
std::string description;
std::function<void()> focusCallback; // Called to focus/highlight this setting in the UI
std::string featureName; // For display context
};
// Override in features to expose settings for search
virtual std::vector<SettingSearchEntry> GetSettingsSearchEntries() { return {}; }

// Nexus Mods base URL for Skyrim Special Edition
static constexpr std::string_view NEXUS_BASE_URL = "https://www.nexusmods.com/skyrimspecialedition/mods/";
bool loaded = false;
Expand Down
Loading