Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
OptionsHelpRuntime.cpp File Reference
#include "OptionsHelpRuntime.hpp"
#include <SDL3/SDL.h>
#include <algorithm>
#include <array>
#include <atomic>
#include <thread>
#include <chrono>
#include <cstdint>
#include <cstdio>
#include <fstream>
#include <iterator>
#include <memory>
Include dependency graph for OptionsHelpRuntime.cpp:

Go to the source code of this file.

Namespaces

namespace  monopoly
 
namespace  monopoly::optionsui
 

Functions

std::expected< std::string, std::string > monopoly::optionsui::decodeQuickHelpText (std::string_view bytes)
 
std::string monopoly::optionsui::helpFileName (data::LanguageId language, bool fullHelp)
 
std::expected< void, std::string > monopoly::optionsui::openQuickHelp (State &state, const data::ResourceSnapshot &resources)
 
std::expected< void, std::string > monopoly::optionsui::openFullHelp (const data::ResourceSnapshot &resources, const FullHelpOptions &options)
 
std::optional< std::string > monopoly::optionsui::styleFullHelpHtml (std::string_view html, std::uintmax_t maximumBytes)
 
bool monopoly::optionsui::fullHelpPending () noexcept
 
void monopoly::optionsui::cancelFullHelp () noexcept
 
std::expected< bool, std::string > monopoly::optionsui::pollFullHelp ()
 

Variable Documentation

◆ deadline

Definition at line 100 of file OptionsHelpRuntime.cpp.

◆ diagnostics

std::string diagnostics

Definition at line 107 of file OptionsHelpRuntime.cpp.

◆ directory

Definition at line 98 of file OptionsHelpRuntime.cpp.

◆ document

Definition at line 99 of file OptionsHelpRuntime.cpp.

◆ errors

SDL_IOStream* errors {}

Definition at line 94 of file OptionsHelpRuntime.cpp.

◆ exited

bool exited {}

Definition at line 108 of file OptionsHelpRuntime.cpp.

◆ maximumHtmlBytes

std::uintmax_t maximumHtmlBytes {}

Definition at line 101 of file OptionsHelpRuntime.cpp.

◆ openDocument

std::function<std::expected<void, std::string>(const std::filesystem::path&)> openDocument

Definition at line 103 of file OptionsHelpRuntime.cpp.

◆ process

SDL_Process* process {}

Definition at line 93 of file OptionsHelpRuntime.cpp.

◆ retainDocument

bool retainDocument {}

Definition at line 109 of file OptionsHelpRuntime.cpp.

◆ timeoutMilliseconds

std::uint32_t timeoutMilliseconds {}

Definition at line 102 of file OptionsHelpRuntime.cpp.