Functions | |
| absl::Status | EnsureParentDirectory (const std::filesystem::path &path) |
| absl::Status | LoadPreferencesFromIni (const std::filesystem::path &path, UserSettings::Preferences *prefs) |
| absl::Status | SavePreferencesToIni (const std::filesystem::path &path, const UserSettings::Preferences &prefs) |
| absl::Status yaze::editor::anonymous_namespace{user_settings.cc}::EnsureParentDirectory | ( | const std::filesystem::path & | path | ) |
Definition at line 28 of file user_settings.cc.
References yaze::util::PlatformPaths::EnsureDirectoryExists(), and EnsureParentDirectory().
Referenced by EnsureParentDirectory(), and SavePreferencesToIni().

| absl::Status yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni | ( | const std::filesystem::path & | path, |
| UserSettings::Preferences * | prefs ) |
Definition at line 36 of file user_settings.cc.
References yaze::editor::UserSettings::Preferences::ai_auto_learn, yaze::editor::UserSettings::Preferences::ai_max_tokens, yaze::editor::UserSettings::Preferences::ai_model, yaze::editor::UserSettings::Preferences::ai_multimodal, yaze::editor::UserSettings::Preferences::ai_proactive, yaze::editor::UserSettings::Preferences::ai_provider, yaze::editor::UserSettings::Preferences::ai_temperature, yaze::editor::UserSettings::Preferences::anthropic_api_key, yaze::editor::UserSettings::Preferences::autosave_enabled, yaze::editor::UserSettings::Preferences::autosave_interval, yaze::editor::UserSettings::Preferences::backup_before_save, yaze::editor::UserSettings::Preferences::backup_rom, yaze::editor::UserSettings::Preferences::cache_size_mb, yaze::editor::UserSettings::Preferences::default_editor, yaze::editor::UserSettings::Preferences::font_global_scale, yaze::editor::UserSettings::Preferences::gemini_api_key, yaze::editor::UserSettings::Preferences::last_project_path, yaze::editor::UserSettings::Preferences::last_rom_path, yaze::editor::UserSettings::Preferences::last_theme_name, yaze::util::LoadFile(), LoadPreferencesFromIni(), yaze::editor::UserSettings::Preferences::log_ai_requests, yaze::editor::UserSettings::Preferences::log_file_path, yaze::editor::UserSettings::Preferences::log_gui_automation, yaze::editor::UserSettings::Preferences::log_level, yaze::editor::UserSettings::Preferences::log_proposals, yaze::editor::UserSettings::Preferences::log_rom_operations, yaze::editor::UserSettings::Preferences::log_to_file, yaze::editor::UserSettings::Preferences::ollama_url, yaze::editor::UserSettings::Preferences::openai_api_key, yaze::editor::UserSettings::Preferences::panel_browser_category_width, yaze::editor::UserSettings::Preferences::panel_layout_defaults_revision, yaze::editor::UserSettings::Preferences::panel_shortcuts, yaze::editor::UserSettings::Preferences::panel_visibility_state, yaze::editor::UserSettings::Preferences::pinned_panels, yaze::editor::UserSettings::Preferences::prefer_hmagic_sprite_names, yaze::editor::UserSettings::Preferences::recent_files_limit, yaze::editor::UserSettings::Preferences::reduced_motion, yaze::editor::UserSettings::Preferences::restore_last_session, yaze::editor::UserSettings::Preferences::right_panel_widths, yaze::editor::UserSettings::Preferences::save_new_auto, yaze::editor::UserSettings::Preferences::saved_layouts, yaze::editor::UserSettings::Preferences::show_status_bar, yaze::editor::UserSettings::Preferences::show_welcome_on_startup, yaze::editor::UserSettings::Preferences::sidebar_active_category, yaze::editor::UserSettings::Preferences::sidebar_panel_expanded, yaze::editor::UserSettings::Preferences::sidebar_panel_width, yaze::editor::UserSettings::Preferences::sidebar_visible, yaze::editor::UserSettings::Preferences::switch_motion_profile, yaze::editor::UserSettings::Preferences::target_fps, yaze::editor::UserSettings::Preferences::undo_history_size, yaze::editor::UserSettings::Preferences::vsync, yaze::editor::UserSettings::Preferences::welcome_mouse_repel_enabled, yaze::editor::UserSettings::Preferences::welcome_particles_enabled, yaze::editor::UserSettings::Preferences::welcome_triforce_alpha, yaze::editor::UserSettings::Preferences::welcome_triforce_size, and yaze::editor::UserSettings::Preferences::welcome_triforce_speed.
Referenced by LoadPreferencesFromIni().

| absl::Status yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni | ( | const std::filesystem::path & | path, |
| const UserSettings::Preferences & | prefs ) |
Definition at line 217 of file user_settings.cc.
References yaze::editor::UserSettings::Preferences::ai_auto_learn, yaze::editor::UserSettings::Preferences::ai_max_tokens, yaze::editor::UserSettings::Preferences::ai_model, yaze::editor::UserSettings::Preferences::ai_multimodal, yaze::editor::UserSettings::Preferences::ai_proactive, yaze::editor::UserSettings::Preferences::ai_provider, yaze::editor::UserSettings::Preferences::ai_temperature, yaze::editor::UserSettings::Preferences::anthropic_api_key, yaze::editor::UserSettings::Preferences::autosave_enabled, yaze::editor::UserSettings::Preferences::autosave_interval, yaze::editor::UserSettings::Preferences::backup_before_save, yaze::editor::UserSettings::Preferences::backup_rom, yaze::editor::UserSettings::Preferences::cache_size_mb, yaze::editor::UserSettings::Preferences::default_editor, EnsureParentDirectory(), yaze::editor::UserSettings::Preferences::font_global_scale, yaze::editor::UserSettings::Preferences::gemini_api_key, yaze::editor::UserSettings::Preferences::last_project_path, yaze::editor::UserSettings::Preferences::last_rom_path, yaze::editor::UserSettings::Preferences::last_theme_name, yaze::editor::UserSettings::Preferences::log_ai_requests, yaze::editor::UserSettings::Preferences::log_file_path, yaze::editor::UserSettings::Preferences::log_gui_automation, yaze::editor::UserSettings::Preferences::log_level, yaze::editor::UserSettings::Preferences::log_proposals, yaze::editor::UserSettings::Preferences::log_rom_operations, yaze::editor::UserSettings::Preferences::log_to_file, yaze::editor::UserSettings::Preferences::ollama_url, yaze::editor::UserSettings::Preferences::openai_api_key, yaze::editor::UserSettings::Preferences::panel_browser_category_width, yaze::editor::UserSettings::Preferences::panel_layout_defaults_revision, yaze::editor::UserSettings::Preferences::panel_shortcuts, yaze::editor::UserSettings::Preferences::panel_visibility_state, yaze::editor::UserSettings::Preferences::pinned_panels, yaze::editor::UserSettings::Preferences::prefer_hmagic_sprite_names, yaze::editor::UserSettings::Preferences::recent_files_limit, yaze::editor::UserSettings::Preferences::reduced_motion, yaze::editor::UserSettings::Preferences::restore_last_session, yaze::editor::UserSettings::Preferences::right_panel_widths, yaze::editor::UserSettings::Preferences::save_new_auto, yaze::editor::UserSettings::Preferences::saved_layouts, SavePreferencesToIni(), yaze::editor::UserSettings::Preferences::show_status_bar, yaze::editor::UserSettings::Preferences::show_welcome_on_startup, yaze::editor::UserSettings::Preferences::sidebar_active_category, yaze::editor::UserSettings::Preferences::sidebar_panel_expanded, yaze::editor::UserSettings::Preferences::sidebar_panel_width, yaze::editor::UserSettings::Preferences::sidebar_visible, yaze::editor::UserSettings::Preferences::switch_motion_profile, yaze::editor::UserSettings::Preferences::target_fps, yaze::editor::UserSettings::Preferences::undo_history_size, yaze::editor::UserSettings::Preferences::vsync, yaze::editor::UserSettings::Preferences::welcome_mouse_repel_enabled, yaze::editor::UserSettings::Preferences::welcome_particles_enabled, yaze::editor::UserSettings::Preferences::welcome_triforce_alpha, yaze::editor::UserSettings::Preferences::welcome_triforce_size, and yaze::editor::UserSettings::Preferences::welcome_triforce_speed.
Referenced by SavePreferencesToIni().
