Files
ReSkate/Launcher/gui.h
T
2026-10-02 14:40:41 -05:00

23 lines
788 B
C++

#pragma once
#include "launch.h"
#include <string>
#include <vector>
namespace dingosdk::launcher_gui {
// Runs the windowed launcher until the user closes it or Skate starts.
// `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