Files
ReSkate/Launcher/gui.h
T
2026-10-03 00:23:44 -06:00

24 lines
856 B
C++

#pragma once
#include "launch.h"
#include <string>
#include <vector>
namespace dingosdk::launcher_gui {
// Runs the launcher until it is closed. The saved setting can retain it hidden
// while Skate runs and show it again after the game exits.
// `arguments` are the launcher's own command-line arguments, kept for a
// restart after a self-update.
int run(const launcher_app::Session& session, const std::vector<std::wstring>& arguments);
// The Settings page's "Install ReSkate updates" choice; scripted (--no-gui) launches honour it too.
bool updates_enabled(const launcher_app::Session& session);
// The Settings page's "Send crash reports" choice, for this launcher and the game it starts.
// Call before open_session, which starts crash reporting with the log.
void apply_crash_report_setting() noexcept;
} // namespace dingosdk::launcher_gui