yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
hack_manifest_save_validation.h
Go to the documentation of this file.
1#ifndef YAZE_APP_EDITOR_SYSTEM_HACK_MANIFEST_SAVE_VALIDATION_H
2#define YAZE_APP_EDITOR_SYSTEM_HACK_MANIFEST_SAVE_VALIDATION_H
3
4#include <cstdint>
5#include <utility>
6#include <vector>
7
8#include "absl/status/status.h"
9#include "absl/strings/string_view.h"
11#include "core/hack_manifest.h"
12#include "core/project.h"
13
14namespace yaze::editor {
15
17 const core::HackManifest& manifest, project::RomWritePolicy write_policy,
18 const std::vector<std::pair<uint32_t, uint32_t>>& ranges,
19 absl::string_view save_scope, const char* log_tag,
20 ToastManager* toast_manager);
21
22} // namespace yaze::editor
23
24#endif // YAZE_APP_EDITOR_SYSTEM_HACK_MANIFEST_SAVE_VALIDATION_H
Editors are the view controllers for the application.
absl::Status ValidateHackManifestSaveConflicts(const core::HackManifest &manifest, project::RomWritePolicy write_policy, const std::vector< std::pair< uint32_t, uint32_t > > &ranges, absl::string_view save_scope, const char *log_tag, ToastManager *toast_manager)