Skip to content

UserData ​

This struct is reflected by RTTR. More...

#include "UserData.h"

Public Functions ​

Name
voidpushRecentFile(const std::filesystem::path & file)
voidtrimRecentCommands()
voidtrimRecentFiles()

Public Attributes ​

Name
std::stringcustomThemeName <br>If empty, LightMode or DarkMode is used based on system settings.
intmaxRecentCommands
intmaxRecentFiles
std::vector< std::string >recentCommands <br>Last command is the most recent.
std::vector< std::filesystem::path >recentFiles <br>Last file is the most recent.

Detailed Description ​

cpp
struct UserData;

This struct is reflected by RTTR.

See: UserData.cpp file.

Public Functions Documentation ​

function pushRecentFile ​

cpp
void pushRecentFile(
    const std::filesystem::path & file
)

function trimRecentCommands ​

cpp
void trimRecentCommands()

function trimRecentFiles ​

cpp
void trimRecentFiles()

Public Attributes Documentation ​

variable customThemeName ​

cpp
std::string customThemeName;

If empty, LightMode or DarkMode is used based on system settings.

variable maxRecentCommands ​

cpp
int maxRecentCommands = 25;

variable maxRecentFiles ​

cpp
int maxRecentFiles = 15;

variable recentCommands ​

cpp
std::vector< std::string > recentCommands;

Last command is the most recent.

variable recentFiles ​

cpp
std::vector< std::filesystem::path > recentFiles;

Last file is the most recent.


Updated on 2026-09-11 at 21:24:24 +0000