mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-10-22 21:22:14 +00:00
Burn down Linux fallback UI paths
This commit is contained in:
1 parent
e404dfe565
commit
a767eab168
39 files changed
+234
-396
No files matched your search
@@ -11,8 +11,8 @@ namespace trailmate::apps::linux_sim_shell
|
||||
|
||||
enum class LinuxSimRuntimeSource
|
||||
{
|
||||
Unavailable,
|
||||
ScreenGraphAdoption,
|
||||
HardcodedFallback,
|
||||
};
|
||||
|
||||
class LinuxSimRuntimeEntry
|
||||
@@ -22,22 +22,16 @@ class LinuxSimRuntimeEntry
|
||||
|
||||
bool ready() const;
|
||||
bool usingPrimaryScreenGraph() const noexcept;
|
||||
bool fallbackUsed() const;
|
||||
LinuxSimRuntimeSource runtimeSource() const noexcept;
|
||||
std::size_t menuCount() const;
|
||||
std::size_t screenCount() const;
|
||||
|
||||
const trailmate::linux_sim::AsciiRuntimeEntryAdoption& adoption() const;
|
||||
|
||||
private:
|
||||
bool startFallback(const LinuxSimAppShell& shell);
|
||||
|
||||
private:
|
||||
LinuxSimRuntimeEntryAdoptionProbe adoption_probe_{};
|
||||
LinuxSimRuntimeSource runtime_source_ =
|
||||
LinuxSimRuntimeSource::HardcodedFallback;
|
||||
LinuxSimRuntimeSource runtime_source_ = LinuxSimRuntimeSource::Unavailable;
|
||||
bool ready_ = false;
|
||||
bool fallback_ = true;
|
||||
};
|
||||
|
||||
} // namespace trailmate::apps::linux_sim_shell
|
||||
Reference in new issue
Block a user