#pragma once

#include <string_view>

namespace pp::app {

enum class DocumentShareAction {
    show_save_required_warning,
    share_now,
};

[[nodiscard]] constexpr DocumentShareAction plan_document_share(std::string_view path) noexcept
{
    return path.empty()
        ? DocumentShareAction::show_save_required_warning
        : DocumentShareAction::share_now;
}

}
