Add a read-only native live-ticker demo with finite fixtures (by Codex)
This commit is contained in:
1 parent
0a54b8338e
commit
8e3d9f83e0
17 files changed
+1601
-10
No files matched your search
@@ -37,6 +37,10 @@ public:
|
||||
virtual Json read_statistics(const Json &) const {
|
||||
return {{"ok", false}, {"error", "statistics_unavailable"}};
|
||||
}
|
||||
// Explicit authoritative adapter required; reading never starts a match.
|
||||
virtual Json read_live(const Json &) const {
|
||||
return {{"ok", false}, {"error", "live_unavailable"}};
|
||||
}
|
||||
};
|
||||
class DemoSource final : public DataSource {
|
||||
public:
|
||||
@@ -47,6 +51,7 @@ public:
|
||||
ActionResult apply(const Action &) override;
|
||||
Json read_almanac(const Json &) const override;
|
||||
Json read_statistics(const Json &) const override;
|
||||
Json read_live(const Json &) const override;
|
||||
void save(const fs::path &, const Json &desktop);
|
||||
Json load(const fs::path &);
|
||||
// UI continuation may retain the previous explicit-save clean baseline.
|
||||
|
||||
Reference in new issue
Block a user