#pragma once

#include "app_core/app_preferences.h"

class App;

namespace pp::panopainter {

[[nodiscard]] pp::foundation::Status execute_legacy_ui_scale_preference(
    App& app,
    float requested_scale);
[[nodiscard]] pp::foundation::Status execute_legacy_viewport_scale_preference(
    App& app,
    float requested_scale);
[[nodiscard]] pp::foundation::Status execute_legacy_interface_direction_preference(
    App& app,
    bool right_to_left);
[[nodiscard]] pp::foundation::Status execute_legacy_vr_mode_preference(
    App& app,
    bool enabled);
[[nodiscard]] pp::foundation::Status execute_legacy_vr_controllers_preference(
    App& app,
    bool enabled);
[[nodiscard]] pp::foundation::Status execute_legacy_timelapse_preference(
    App& app,
    bool enabled);
[[nodiscard]] pp::foundation::Status execute_legacy_canvas_cursor_mode_preference(
    App& app,
    int mode);

} // namespace pp::panopainter
