yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
recent_projects_model.cc File Reference
#include "app/editor/shell/coordinator/recent_projects_model.h"
#include <algorithm>
#include <array>
#include <cctype>
#include <chrono>
#include <cstdint>
#include <filesystem>
#include <fstream>
#include <limits>
#include <mutex>
#include <sstream>
#include <system_error>
#include <thread>
#include <utility>
#include <vector>
#include "absl/strings/str_format.h"
#include "app/gui/core/icons.h"
#include "core/project.h"
#include "nlohmann/json.hpp"
#include "util/log.h"
#include "util/platform_paths.h"
#include "util/rom_hash.h"

Go to the source code of this file.

Classes

struct  yaze::editor::anonymous_namespace{recent_projects_model.cc}::SnesHeaderMetadata
 

Namespaces

namespace  yaze
 
namespace  yaze::editor
 Editors are the view controllers for the application.
 
namespace  yaze::editor::anonymous_namespace{recent_projects_model.cc}
 

Functions

std::string yaze::editor::anonymous_namespace{recent_projects_model.cc}::ToLowerAscii (std::string value)
 
std::string yaze::editor::anonymous_namespace{recent_projects_model.cc}::TrimAscii (const std::string &value)
 
bool yaze::editor::anonymous_namespace{recent_projects_model.cc}::IsRomPath (const std::filesystem::path &path)
 
bool yaze::editor::anonymous_namespace{recent_projects_model.cc}::IsProjectPath (const std::filesystem::path &path)
 
std::string yaze::editor::anonymous_namespace{recent_projects_model.cc}::FormatFileSize (std::uintmax_t bytes)
 
std::string yaze::editor::anonymous_namespace{recent_projects_model.cc}::GetRelativeTimeString (const std::filesystem::file_time_type &ftime)
 
std::string yaze::editor::anonymous_namespace{recent_projects_model.cc}::DecodeSnesRegion (std::uint8_t code)
 
std::string yaze::editor::anonymous_namespace{recent_projects_model.cc}::DecodeSnesMapMode (std::uint8_t code)
 
bool yaze::editor::anonymous_namespace{recent_projects_model.cc}::ReadFileBlock (std::ifstream *file, std::streamoff offset, char *out, std::size_t size)
 
bool yaze::editor::anonymous_namespace{recent_projects_model.cc}::LooksLikeSnesTitle (const std::string &title)
 
SnesHeaderMetadata yaze::editor::anonymous_namespace{recent_projects_model.cc}::ReadSnesHeaderMetadata (const std::filesystem::path &path)
 
std::string yaze::editor::anonymous_namespace{recent_projects_model.cc}::ReadFileCrc32 (const std::filesystem::path &path)
 
std::string yaze::editor::anonymous_namespace{recent_projects_model.cc}::ParseConfigValue (const std::string &line)
 
std::string yaze::editor::anonymous_namespace{recent_projects_model.cc}::ExtractLinkedProjectRomName (const std::filesystem::path &path)
 

Variables

constexpr std::size_t yaze::editor::anonymous_namespace{recent_projects_model.cc}::kMaxRecentEntries = 6