yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
dungeon_issue_report_storage.h
Go to the documentation of this file.
1#ifndef YAZE_APP_EDITOR_DUNGEON_UI_REPORTING_DUNGEON_ISSUE_REPORT_STORAGE_H
2#define YAZE_APP_EDITOR_DUNGEON_UI_REPORTING_DUNGEON_ISSUE_REPORT_STORAGE_H
3
4#include <filesystem>
5#include <string>
6
7#include "absl/status/statusor.h"
8
9namespace yaze::editor {
10
12 std::filesystem::path reports_dir;
13 std::filesystem::path screenshots_dir;
14 std::filesystem::path log_path;
15};
16
18 std::string timestamp_display;
19 std::string heading;
20 std::string category_label;
21 std::string scope;
22 int room_id = -1;
23 std::string screenshot_path;
24 std::string observed_issue;
25 std::string diagnostics;
26};
27
28absl::StatusOr<DungeonIssueReportPaths> ResolveDungeonIssueReportPaths();
29
30absl::StatusOr<std::filesystem::path> BuildDungeonIssueScreenshotPath(
31 int room_id, const std::string& category_label,
32 const std::string& timestamp_slug);
33
34absl::StatusOr<std::filesystem::path> AppendDungeonIssueLogEntry(
35 const DungeonIssueLogEntry& entry);
36
37} // namespace yaze::editor
38
39#endif // YAZE_APP_EDITOR_DUNGEON_UI_REPORTING_DUNGEON_ISSUE_REPORT_STORAGE_H
Editors are the view controllers for the application.
absl::StatusOr< std::filesystem::path > AppendDungeonIssueLogEntry(const DungeonIssueLogEntry &entry)
absl::StatusOr< std::filesystem::path > BuildDungeonIssueScreenshotPath(int room_id, const std::string &category_label, const std::string &timestamp_slug)
absl::StatusOr< DungeonIssueReportPaths > ResolveDungeonIssueReportPaths()